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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: action/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- uses: cachix/install-nix-action@v19
|
- uses: cachix/install-nix-action@v19
|
||||||
- name: Check ${{ matrix.check }}
|
- name: Check ${{ matrix.check }}
|
||||||
# Depends on nixos/nix#7759 to simply `nix flake check`
|
# Depends on nixos/nix#7759 to simply `nix flake check`
|
||||||
run:
|
run: nix run .#checks.$(nix eval --raw --impure --expr "builtins.currentSystem").${{ matrix.check }}
|
||||||
- export SYSTEM=$(nix eval --raw --impure --expr "builtins.currentSystem")
|
|
||||||
- nix run .#checks.$SYSTEM.${{ matrix.check }}
|
|
||||||
|
|
||||||
build-and-update:
|
build-and-update:
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
Reference in New Issue
Block a user