diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3c13006aa..add3d3898d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,21 +73,21 @@ jobs: - name: Cache the Go Build Cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 + uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 with: path: ${{ steps.go_cache.outputs.cache }} key: ${{ runner.os }}-build-lint-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-build-lint- - name: Cache Go Dependencies - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 + uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 with: path: ${{ steps.go_cache.outputs.mod_cache }} key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-pkg- - name: Cache Linter Analysis - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 + uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 id: cache-analysis with: path: ${{ steps.go_cache.outputs.analysis_cache }} diff --git a/.github/workflows/uptest-all.yml b/.github/workflows/uptest-all.yml index 3dd5236d05..09a5fe1658 100644 --- a/.github/workflows/uptest-all.yml +++ b/.github/workflows/uptest-all.yml @@ -76,14 +76,14 @@ jobs: run: echo "cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT - name: Cache the Go Build Cache - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 + uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 with: path: ${{ steps.go.outputs.cache }} key: ${{ runner.os }}-build-uptest-${{ hashFiles('**/go.sum') }} restore-keys: ${{ runner.os }}-build-uptest- - name: Cache Go Dependencies - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 + uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4 with: path: .work/pkg key: ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }}