From e7bde3c7dc022d4fe13778e339e4f395e54a12b7 Mon Sep 17 00:00:00 2001 From: "stepsecurity-app[bot]" <188008098+stepsecurity-app[bot]@users.noreply.github.com> Date: Thu, 4 Dec 2025 22:28:25 +0000 Subject: [PATCH] [StepSecurity] Apply security best practices Signed-off-by: StepSecurity Bot --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7645da1..c5ecf17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Install Rust nightly toolchain - uses: dtolnay/rust-toolchain@master + uses: dtolnay/rust-toolchain@0b1efabc08b657293548b77fb76cc02d26091c7e # master with: toolchain: nightly components: rustfmt @@ -85,7 +85,7 @@ jobs: sudo dpkg -i foundationdb-clients_7.3.69-1_amd64.deb - name: Cache Rust dependencies - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2 + uses: step-security/rust-cache@f8fba7098297c8c53a7c9a30575ec2ad4ad85056 # v2.8.2 with: shared-key: management-ubuntu-latest-x86_64-unknown-linux-gnu save-if: false @@ -134,7 +134,7 @@ jobs: uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9 - name: Cache Rust dependencies - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2 + uses: step-security/rust-cache@f8fba7098297c8c53a7c9a30575ec2ad4ad85056 # v2.8.2 with: shared-key: management-ubuntu-latest-x86_64-unknown-linux-gnu save-if: ${{ github.ref == 'refs/heads/main' }} @@ -191,7 +191,7 @@ jobs: tool: cargo-nextest - name: Restore build cache - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2 + uses: step-security/rust-cache@f8fba7098297c8c53a7c9a30575ec2ad4ad85056 # v2.8.2 with: shared-key: management-ubuntu-latest-x86_64-unknown-linux-gnu save-if: false # Don't save, only restore from build job @@ -203,7 +203,7 @@ jobs: run: cargo test --workspace --doc - name: Publish test results - uses: EnricoMi/publish-unit-test-result-action@34d7c956a59aed1bfebf31df77b8de55db9bbaaf # v2.21.0 + uses: step-security/publish-unit-test-result-action@914f0f642c242f38335a491805adfc9bd64b1cbb # v2.21.1 if: always() with: files: target/nextest/ci/junit.xml @@ -261,7 +261,7 @@ jobs: tool: cargo-tarpaulin - name: Restore build cache - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2 + uses: step-security/rust-cache@f8fba7098297c8c53a7c9a30575ec2ad4ad85056 # v2.8.2 with: shared-key: management-ubuntu-latest-x86_64-unknown-linux-gnu save-if: false # Don't save, only restore from build job @@ -298,7 +298,7 @@ jobs: toolchain: stable - name: Cache Rust dependencies - uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2 + uses: step-security/rust-cache@f8fba7098297c8c53a7c9a30575ec2ad4ad85056 # v2.8.2 - name: Check outdated dependencies run: |