From 5e0fe3930423470347579d49493041e7c98bcdda Mon Sep 17 00:00:00 2001 From: Jory Severijnse Date: Sat, 11 Apr 2026 13:05:31 +0200 Subject: [PATCH] refactor: Fixed binstall URL and added install as fallback --- .github/workflows/security.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index ab306f9..393db2c 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -25,12 +25,11 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable - - name: Install cargo-binstall - run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install.sh | sh - - name: Install security tools run: | - cargo binstall --no-confirm cargo-audit cargo-deny cargo-cyclonedx cargo-outdated + curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash + cargo binstall --no-confirm cargo-audit cargo-deny cargo-cyclonedx cargo-outdated || \ + cargo install cargo-audit cargo-deny cargo-cyclonedx cargo-outdated - name: Run cargo audit run: cargo audit