Skip to content

Commit 6eddcb7

Browse files
Update actions/cache action to v5 (#3007)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent b17e395 commit 6eddcb7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
2929
# Cache Go build cache for faster compilation during linting
3030
- name: Cache Go build cache
31-
uses: actions/cache@v4
31+
uses: actions/cache@a7833574556fa59680c1b7cb190c1735db73ebf0 # v5
3232
with:
3333
path: ~/.cache/go-build
3434
key: ${{ runner.os }}-go-build-lint-${{ hashFiles('**/go.sum') }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
# Cache Go build cache for faster compilation
3030
# Note: ~/go/pkg/mod is already cached by actions/setup-go with cache: true
3131
- name: Cache Go build cache
32-
uses: actions/cache@v4
32+
uses: actions/cache@a7833574556fa59680c1b7cb190c1735db73ebf0 # v5
3333
with:
3434
path: ~/.cache/go-build
3535
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
@@ -39,7 +39,7 @@ jobs:
3939
# Cache Go tools (gotestfmt only for tests)
4040
- name: Cache Go tools
4141
id: cache-go-tools
42-
uses: actions/cache@v4
42+
uses: actions/cache@a7833574556fa59680c1b7cb190c1735db73ebf0 # v5
4343
with:
4444
path: ~/go/bin
4545
key: ${{ runner.os }}-go-tools-${{ hashFiles('go.mod') }}-gotestfmt-v2

.github/workflows/verify-gen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
# Cache Go tools (mockgen)
2121
- name: Cache Go tools
2222
id: cache-go-tools
23-
uses: actions/cache@v4
23+
uses: actions/cache@a7833574556fa59680c1b7cb190c1735db73ebf0 # v5
2424
with:
2525
path: ~/go/bin
2626
key: ${{ runner.os }}-go-codegen-tools-${{ hashFiles('go.mod') }}-mockgen

0 commit comments

Comments
 (0)