ci: add cargo audit for dependency security scanning#28
Merged
mark-pro merged 3 commits intooneirosoft:mainfrom Apr 1, 2026
Merged
ci: add cargo audit for dependency security scanning#28mark-pro merged 3 commits intooneirosoft:mainfrom
mark-pro merged 3 commits intooneirosoft:mainfrom
Conversation
Add a separate security audit job to the CI workflow that runs cargo-audit to check for known vulnerabilities in dependencies. Refs oneirosoft#11 (item 6) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds dependency security scanning to the CI pipeline by introducing a dedicated Security Audit job that runs cargo audit alongside the existing verify job.
Changes:
- Add an
auditCI job that installscargo-auditand runscargo audit - Keep the new security scan as an independent job (parallel to
verify)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace manual cargo-audit installation and execution with the official rustsec/audit-check action for significantly faster CI runs and automatic PR annotations.
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.
Summary
auditjob to the CI workflow that runscargo auditto detect known vulnerabilities in dependenciescargo-auditwith--lockedfor reproducible buildsverifyjobRefs #11 (item 6)
Test plan
Security Auditjob appears in CI and runs successfullyverifyjob🤖 Generated with Claude Code