summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorSomeoneSerge <else@someonex.net>2024-08-08 21:16:24 +0000
committerSomeoneSerge <else@someonex.net>2024-08-08 21:16:24 +0000
commit97a78ba6b20cbd60c63b69fcaa4f60e12e46bedb (patch)
tree5b8891468010c9f5518bb63b9455597d970c3043 /.github/workflows/build.yml
parent19c0120754f904c3b0caeb65b3b19d13c4500926 (diff)
flake.nix: add .#checks
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4285978..936d055 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -22,3 +22,17 @@ jobs:
- uses: DeterminateSystems/magic-nix-cache-action@v7
- name: Build some-pkgs
run: nix run github:Mic92/nix-fast-build -- --skip-cached --no-nom --flake ".#packages"
+ nix-flake-check:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ ubuntu-latest ]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ - name: Install Nix
+ uses: DeterminateSystems/nix-installer-action@v13
+ - uses: DeterminateSystems/magic-nix-cache-action@v7
+ - name: Build the checks
+ run: nix run github:Mic92/nix-fast-build -- --skip-cached --no-nom --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"