From eb23414baecfe865e8c9fb2fac2a29708449787c Mon Sep 17 00:00:00 2001 From: "Thing-han, Lim" <15379156+potsrevennil@users.noreply.github.com> Date: Tue, 26 Nov 2024 14:43:53 +0800 Subject: [PATCH] ci: pin dependency hash for github-benchmark-benchmark and cache-nix-action Signed-off-by: Thing-han, Lim <15379156+potsrevennil@users.noreply.github.com> --- .github/actions/bench/action.yml | 2 +- .github/actions/setup-nix/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/bench/action.yml b/.github/actions/bench/action.yml index 56969df1f..2c8981813 100644 --- a/.github/actions/bench/action.yml +++ b/.github/actions/bench/action.yml @@ -87,7 +87,7 @@ runs: run: | check-namespace - name: Store benchmark result - uses: benchmark-action/github-action-benchmark@v1 + uses: benchmark-action/github-action-benchmark@d48d326b4ca9ba73ca0cd0d59f108f9e02a381c7 # v1.20.4 with: name: ${{ inputs.name }} tool: "customSmallerIsBetter" diff --git a/.github/actions/setup-nix/action.yml b/.github/actions/setup-nix/action.yml index 68d94b849..38b81c62b 100644 --- a/.github/actions/setup-nix/action.yml +++ b/.github/actions/setup-nix/action.yml @@ -129,7 +129,7 @@ runs: nix config check nix config show echo "::endgroup::" - - uses: nix-community/cache-nix-action@v5 + - uses: nix-community/cache-nix-action@8351fb9f51c580c96c509987ebb99e38aed956ce # v5.2.1 id: cache if: ${{ env.NIX_CACHE_ENABLED != 1 && inputs.cache == 'true' }} continue-on-error: true