Skip to content

Commit

Permalink
adding cargo udeps to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
TornaxO7 committed Feb 10, 2024
1 parent 804f9b7 commit aa168c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,11 @@ jobs:
- uses: eneoli/flakeshot@v1
- name: Running tests
run: cargo test --verbose

unused-deps:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: eneoli/flakeshot@v1
- name: Check for unused dependencies
run: cargo udeps
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
{
packages = with pkgs; [
snixembed
cargo-udeps
stalonetray
] ++ [ rust-toolchain ] ++ flakeshot.nativeBuildInputs ++ flakeshot.buildInputs;
};
Expand Down

0 comments on commit aa168c2

Please sign in to comment.