Skip to content

Commit ce667d1

Browse files
committed
Use newer version of setup-go and remove cache step
`setup-go` implements the same caching in newer versions, which is on by default
1 parent 4cdd52e commit ce667d1

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,14 @@ jobs:
1212
steps:
1313

1414
- name: Set up Go 1.x
15-
uses: actions/setup-go@v2
15+
uses: actions/setup-go@v5
1616
with:
1717
go-version: ^1.13
1818
id: go
1919

2020
- name: Checkout repository
2121
uses: actions/checkout@v2
2222

23-
- name: Set up cache
24-
uses: actions/cache@v2
25-
with:
26-
path: ~/go/pkg/mod
27-
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
28-
restore-keys: |
29-
${{ runner.os }}-go-
30-
3123
- name: Get dependencies
3224
run: go get -v -t -d .
3325

0 commit comments

Comments
 (0)