mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-09-11 05:42:26 -04:00
All five workflows duplicated the same cache + cargo install steps for rustsec-admin, each hardcoding the pinned revision twice. Move them into a composite action at .github/actions/install-rustsec-admin, so version bumps are a one-line change. publish-web and export-osv check out the gh-pages/osv branches, where the action file doesn't exist; they now check out main first, install the tool, then check out the deploy branch as before (the second checkout cleans and fully replaces the workspace). Co-authored-by: Claude Fable 5 <noreply@anthropic.com>