Skip to content

Commit f5157f3

Browse files
committed
build: use explicitly generated Cargo.nix instead of ifd
1 parent 0be8983 commit f5157f3

File tree

5 files changed

+15552
-865
lines changed

5 files changed

+15552
-865
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Cargo.nix linguist-vendored

.github/workflows/check.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,12 @@ jobs:
4848
uses: actions-rs/clippy-check@v1
4949
with:
5050
token: ${{ secrets.GITHUB_TOKEN }}
51+
52+
cargo-nix:
53+
name: cargo-nix
54+
runs-on: ubuntu-latest
55+
steps:
56+
- uses: actions/checkout@v4
57+
- uses: DeterminateSystems/nix-installer-action@main
58+
- run: nix run .#generate
59+
- run: git diff --exit-code

0 commit comments

Comments
 (0)