Repository navigation
ci: add cargo machete audit - #2
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a CI audit step to detect unused Rust dependencies via cargo-machete, and wires it into the “all-green” gate.
Changes:
- Add
cargo-macheteto the Nix dev shell tooling. - Add a new GitHub Actions
auditjob that runscargo machetevianix develop. - Update the
all-greenaggregator job to require the newauditjob.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
flake.nix |
Adds cargo-machete to the devShell packages. |
.github/workflows/ci.yml |
Introduces an audit job running cargo machete via Nix and includes it in all-green dependencies. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| uses: cachix/install-nix-action@ab739621df7a23f52766f9ccc97f38da6b7af14f # v31.10.5 | ||
|
|
||
| - name: Run cargo-machete | ||
| run: nix develop --command cargo machete |
Comment on lines
15
to
19
| devShells.${system}.default = pkgs.mkShell { | ||
| packages = with pkgs; [ | ||
| cargo | ||
| cargo-machete | ||
| clippy |
furedea
force-pushed
the
feat/add-cargo-machete-audit
branch
from
May 18, 2026 09:47
3ca998f to
0ed928d
Compare
furedea
force-pushed
the
feat/add-cargo-machete-audit
branch
from
May 18, 2026 09:58
0ed928d to
a293891
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.