ci: fix check job definition
This commit is contained in:
parent
3d8a9cfa9a
commit
2efddce7c5
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -13,13 +13,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: action/checkout@v3
|
||||
uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v19
|
||||
- name: Check ${{ matrix.check }}
|
||||
# Depends on nixos/nix#7759 to simply `nix flake check`
|
||||
run:
|
||||
- export SYSTEM=$(nix eval --raw --impure --expr "builtins.currentSystem")
|
||||
- nix run .#checks.$SYSTEM.${{ matrix.check }}
|
||||
run: nix run .#checks.$(nix eval --raw --impure --expr "builtins.currentSystem").${{ matrix.check }}
|
||||
|
||||
build-and-update:
|
||||
strategy:
|
||||
|
Loading…
Reference in New Issue
Block a user