From 5b0d406879c089e0eff592389e493b3b2c0faf29 Mon Sep 17 00:00:00 2001 From: Bradley Jones Date: Thu, 7 Dec 2023 14:58:59 +0000 Subject: [PATCH] ci: pin cache action to commit hash Signed-off-by: Bradley Jones --- .github/workflows/release.yaml | 2 +- .github/workflows/snapshot.yaml | 2 +- .github/workflows/static-analysis.yaml | 2 +- .github/workflows/unit-test.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5596286..0cf7d13 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -75,7 +75,7 @@ jobs: - name: Restore bootstrap cache id: cache - uses: actions/cache@v3 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2 with: path: | ~/go/pkg/mod diff --git a/.github/workflows/snapshot.yaml b/.github/workflows/snapshot.yaml index a52ca27..2509bae 100644 --- a/.github/workflows/snapshot.yaml +++ b/.github/workflows/snapshot.yaml @@ -22,7 +22,7 @@ jobs: - name: Restore bootstrap cache id: cache - uses: actions/cache@v3 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2 with: path: | ~/go/pkg/mod diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index b693a11..f5ebba3 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -19,7 +19,7 @@ jobs: - name: Restore bootstrap cache id: bootstrap-cache - uses: actions/cache@v3 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2 with: path: | ~/go/pkg/mod diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index 2d4e95a..4822921 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -20,7 +20,7 @@ jobs: - name: Restore bootstrap cache id: bootstrap-cache - uses: actions/cache@v3 + uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 #v3.3.2 with: path: | ~/go/pkg/mod