From c39e601354ffda19df60a9a8b4e8520cd200658f Mon Sep 17 00:00:00 2001 From: slawomirbabicz <111378977+slawomirbabicz@users.noreply.github.com> Date: Thu, 9 Apr 2026 12:52:42 +0200 Subject: [PATCH] chore: pin actions to SHA in .github/workflows/ci.yml --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7856de4c4..c6220e29d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: cargo_cmd: clippy --locked --all-targets -- -D warnings -A clippy::unknown-clippy-lints -A clippy::type_complexity -A clippy::new-without-default steps: - name: Clone repository - uses: actions/checkout@v1 + uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0 - name: Install rust uses: ./.github/actions/rust-toolchain @@ -61,7 +61,7 @@ jobs: RUST_BACKTRACE: 1 steps: - name: Clone repository - uses: actions/checkout@v1 + uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0 - name: Install rust uses: ./.github/actions/rust-toolchain @@ -104,7 +104,7 @@ jobs: rustflags: -Ctarget-feature=+crt-static steps: - name: Clone repository - uses: actions/checkout@v1 + uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0 - name: Install rust uses: ./.github/actions/rust-toolchain @@ -147,7 +147,7 @@ jobs: ID: ${{ startsWith(github.ref, 'refs/tags/') && github.ref || github.sha }} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2.3.1 with: name: ${{ matrix.binary || 'sccache' }}-${{ steps.id.outputs.id }}-${{ matrix.target }} path: target/${{ matrix.target }}/release/${{ matrix.binary || 'sccache' }}${{ endsWith(matrix.target, '-msvc') && '.exe' || '' }} @@ -160,10 +160,10 @@ jobs: if: ${{ startsWith(github.ref, 'refs/tags/') }} steps: - name: Clone repository - uses: actions/checkout@v1 + uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e # v1.2.0 - name: Get artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2.1.1 - name: Create release assets run: |