This post was originally published on fpira.com .
I have just published Rust Audit Check Action , a small GitHub Action for
running cargo audit and detecting RustSec advisories
in Rust projects. The action is now available on the GitHub Marketplace .
The basic workflow is intentionally straightforward:
- uses : pirafrank/audit-check-action@v1
Enter fullscreen mode
Exit fullscreen mode
It installs cargo-audit , runs it against the project’s dependency lockfile,
and lets the command output and exit status determine whether the workflow succeeds
or fails.
That simplicity is the main feature.
Why create another Rust audit action?
There are already established projects for integrating cargo audit into GitHub
Actions, particularly rustsec/audit-check and actions-rust-lang/audit .
However, GitHub Actions do not exist in a static environment.…