Skip to content

CI: use taiki-e/install-action for cargo tool installs #490

Description

@avifenesh

Audit Finding (DevOps, Medium)

Locations:

  • .github/workflows/ci.yml:145 (iai-callgrind-runner)
  • .github/workflows/security.yml:47 (cargo-audit)
  • .github/workflows/fuzz.yml:47 (cargo-fuzz)
  • .github/workflows/release.yml:48 (cross from git)

All four workflows install Rust tools via cargo install from source without caching. This wastes 2-10 minutes per run.

Fix: Use taiki-e/install-action which downloads prebuilt binaries with caching:

- uses: taiki-e/install-action@v2
  with:
    tool: cargo-audit@0.22.1

Found by /audit-project

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions