ci: fix check job definition

This commit is contained in:
xeals 2023-02-23 11:00:54 +11:00
parent 3d8a9cfa9a
commit 2efddce7c5
Signed by: xeals
GPG Key ID: A498C7AF27EC6B5C

View File

@ -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: