Skip to content

Commit e7b060d

Browse files
switchupcbmvdan
authored andcommitted
update cache actions to v3
1 parent 1e5d4ad commit e7b060d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
go-version: 1.18.x
2323
- uses: actions/checkout@v3
24-
- uses: actions/cache@v2
24+
- uses: actions/cache@v3
2525
with:
2626
# In order:
2727
# * Module download cache

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Use [actions/cache](https://github.com/actions/cache). For example, to cache
7373
downloaded modules:
7474

7575
```yaml
76-
- uses: actions/cache@v2
76+
- uses: actions/cache@v3
7777
with:
7878
path: ~/go/pkg/mod
7979
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -84,7 +84,7 @@ downloaded modules:
8484
You can also include Go's build cache, to improve incremental builds:
8585

8686
```yaml
87-
- uses: actions/cache@v2
87+
- uses: actions/cache@v3
8888
with:
8989
# In order:
9090
# * Module download cache

0 commit comments

Comments
 (0)