From 579496b617287fb87bbbcb86798f248a3e2d726e Mon Sep 17 00:00:00 2001 From: slawomirbabicz <111378977+slawomirbabicz@users.noreply.github.com> Date: Wed, 8 Apr 2026 17:13:53 +0200 Subject: [PATCH 1/2] chore: pin actions to SHA in .github/workflows/ci.yml --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72df0a2..b88261f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,16 +10,16 @@ jobs: env: DFX_VERSION: 0.24.2 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Install stable Rust toolchain - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: profile: minimal toolchain: stable override: true components: rustfmt, clippy - name: Cache cargo build - uses: actions/cache@v4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: | ~/.cargo/registry @@ -35,7 +35,7 @@ jobs: - name: lint run: cargo clippy --tests -- -D clippy::all - name: Install dfx - uses: dfinity/setup-dfx@main + uses: dfinity/setup-dfx@e50c04f104ee4285ec010f10609483cf41e4d365 # main with: dfx-version: "${{ env.DFX_VERSION }}" - name: Run e2e tests against replica From 95b5c83b24887f11ac9f9527aedebd7f3178d3ed Mon Sep 17 00:00:00 2001 From: slawomirbabicz <111378977+slawomirbabicz@users.noreply.github.com> Date: Wed, 8 Apr 2026 17:13:54 +0200 Subject: [PATCH 2/2] chore: pin actions to SHA in .github/workflows/release.yml --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec90e4c..50807b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,17 +24,17 @@ jobs: artifact_name: target/arm-unknown-linux-gnueabihf/release/ic-repl asset_name: ic-repl-arm32 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Install stable toolchain if: matrix.name != 'arm' - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: profile: minimal toolchain: stable override: true - name: Install stable ARM toolchain if: matrix.name == 'arm' - uses: actions-rs/toolchain@v1 + uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: profile: minimal toolchain: stable @@ -45,13 +45,13 @@ jobs: run: cargo build --release --locked - name: Cross build if: matrix.name == 'arm' - uses: actions-rs/cargo@v1 + uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 with: use-cross: true command: build args: --target arm-unknown-linux-gnueabihf --release --locked - name: 'Upload assets' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5 # v3.2.1 with: name: ${{ matrix.asset_name }} path: ${{ matrix.artifact_name }} @@ -75,7 +75,7 @@ jobs: steps: - name: Get executable id: download - uses: actions/download-artifact@v3 + uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 with: name: ${{ matrix.asset_name }} - name: Executable runs @@ -95,11 +95,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Get executable - uses: actions/download-artifact@v3 + uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 with: name: ${{ matrix.asset_name }} - name: Upload binaries to release - uses: svenstaro/upload-release-action@v2 + uses: svenstaro/upload-release-action@29e53e917877a24fad85510ded594ab3c9ca12de # 2.11.5 with: repo_token: ${{ secrets.GITHUB_TOKEN }} file: ic-repl