ci(core): move cargo audit and cargo vet to separate job
What changed, and why it matters
This commit only reorganizes the project's automated CI pipeline. It moves two Rust dependency-checking commands (cargo audit and cargo vet) from one GitHub Actions job into a separate, dedicated job. There is no change to the actual firmware code, dependencies, or security checks performed.
No security action required. This is a CI refactoring change. Reviewers may optionally verify that the new job has appropriate permissions, required status checks, and notification settings so dependency audit failures are still visible and blocking.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies .github/workflows/core.yml. It removes the audit_rust and vet_rust steps from the core_rust_test job and creates a new rust_deps_check job that runs the same two commands. The commands, environment, and checkout configuration remain functionally identical. No dependency versions, source code, or audit/vet policies are changed.
Changed components
.github/workflows/core.ymlInspect captured patch +11 / −2
diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml
index 16882c6a..ed8260f4 100644
--- a/.github/workflows/core.yml
+++ b/.github/workflows/core.yml
@@ -260,8 +260,6 @@ jobs:
if: matrix.asan == 'noasan'
- run: nix-shell --run "uv run make -C core -f Makefile.scons test_rust"
- run: nix-shell --run "uv run make -C core clippy"
- - run: nix-shell --run "uv run make -C core audit_rust"
- - run: nix-shell --run "uv run make -C core vet_rust"
core_rust_client_test:
name: Rust trezor-client tests
@@ -853,5 +851,16 @@ jobs:
tree
aws s3 sync --only-show-errors emulators s3://data.trezor.io/dev/firmware/emu-branches/$branch_name
+ rust_deps_check:
+ name: Rust dependencies check
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # actions/checkout@v6.0.2
+ with:
+ submodules: recursive
+ - uses: ./.github/actions/environment
+ - run: nix-shell --run "uv run make -C core audit_rust"
+ - run: nix-shell --run "uv run make -C core vet_rust"
+
# Connect
# TODO: core_connect_test
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.