mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-11-20 20:44:11 +00:00
CI: add check action
This commit is contained in:
parent
65f49835f6
commit
c5a6662b2d
2 changed files with 22 additions and 1 deletions
20
.github/workflows/check.yml
vendored
Normal file
20
.github/workflows/check.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: Checks
|
||||
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
strategy:
|
||||
matrix:
|
||||
command:
|
||||
- NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure
|
||||
- nix run nixpkgs#alejandra -- -c . -e ./npins
|
||||
|
||||
uses: ./.github/workflows/nix.yml
|
||||
with:
|
||||
command: ${{ matrix.command }}
|
||||
|
||||
build:
|
||||
needs: check
|
||||
uses: ./.github/workflows/build.yml
|
||||
secrets: inherit
|
||||
Loading…
Add table
Add a link
Reference in a new issue