Skip to content

Commit

Permalink
Add a CI step to check that there are no changed files after Clippy
Browse files Browse the repository at this point in the history
This will catch things like Cargo.lock being out of date with changes to
Cargo.toml, etc.
  • Loading branch information
DanNixon committed Nov 15, 2023
1 parent 1491c8c commit 8d30e71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Clippy
run: nix develop --command cargo clippy --all-targets

- name: Repository cleanliness
run: git diff --exit-code

- name: Test
run: nix build -L --no-sandbox .#test

Expand Down

0 comments on commit 8d30e71

Please sign in to comment.