Menu

A smaller, more maintainable GitHub Action for auditing Rust dependencies
📰

A smaller, more maintainable GitHub Action for auditing Rust dependencies

DEV Community: cicd·Francesco Pira·6 days ago
#CkGwOEiM
#devtocicd#devto#dev#audit#action
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.