Skip to content

Commit

Permalink
chore(deps): update actions/cache action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Oct 10, 2024
1 parent 530b4e2 commit a2532d8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: Setup build cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.1.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: Setup build cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.1.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand All @@ -40,7 +40,7 @@ jobs:
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: Setup build cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.1.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand All @@ -62,7 +62,7 @@ jobs:
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: Setup build cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.1.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
Expand All @@ -82,15 +82,15 @@ jobs:
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: Setup build cache
uses: actions/cache@v2.1.6
uses: actions/cache@v4.1.1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Run benchmark
run: go test ./... -bench 'Benchmark' | tee output.txt
- name: Download previous benchmark data
uses: actions/cache@v2.1.6
uses: actions/cache@v4.1.1
with:
path: ./cache
key: ${{ runner.os }}-benchmark
Expand Down

0 comments on commit a2532d8

Please sign in to comment.