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 14, 2023
1 parent e4c40d9 commit bd0ee2b
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 bd0ee2b

Please sign in to comment.