From c252ea2c0f9f7473e8e3154a19d466997ebf7d1c Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Wed, 22 Jan 2025 20:22:08 -0500 Subject: [PATCH] github-actions: build cargo-audit from source The `cargo audit` command no longer seems to be provided as part of the base image. Install it from source instead. This should get the continuous integration tests running again. --- .github/workflows/audit.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 9c7ff0d..3f9c6d8 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -14,5 +14,8 @@ jobs: steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - name: Install + run: cargo install --locked cargo-audit@v0.21.1 + - name: Audit run: cargo audit