Skip to content

Commit 677afa0

Browse files
committed
Add nix flake check to CI
1 parent 86b8147 commit 677afa0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,19 @@ jobs:
4343
run: cargo check --release
4444
- name: Cargo check doc on Rust ${{ matrix.toolchain }}
4545
run: cargo doc --release
46+
check-flake:
47+
name: Check Nix Flake
48+
runs-on: ubuntu-latest
49+
strategy:
50+
fail-fast: true
51+
steps:
52+
- name: Checkout
53+
uses: actions/checkout@v4
54+
- name: Check Nix flake inputs
55+
uses: DeterminateSystems/flake-checker-action@v8
56+
- name: Install Nix
57+
uses: cachix/install-nix-action@v31
58+
with:
59+
nix_path: nixpkgs=channel:nixos-25.05
60+
- name: Check flake
61+
run: nix flake check

0 commit comments

Comments
 (0)