Skip to content

Commit 5494657

Browse files
committed
Update Actions workflow to follow Go version in go.mod
1 parent e7d1f00 commit 5494657

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
GO111MODULE: on
1414

1515
steps:
16-
- name: Set up Go 1.15
17-
uses: actions/setup-go@v1
16+
- uses: actions/checkout@v4
17+
18+
- name: Set up Go
19+
uses: actions/setup-go@v5
1820
with:
19-
go-version: 1.15
21+
go-version-file: 'go.mod'
2022
id: go
2123

22-
- uses: actions/checkout@v2
23-
24-
- uses: actions/cache@v1
24+
- uses: actions/cache@v4
2525
with:
2626
path: ~/go/pkg/mod
2727
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

0 commit comments

Comments
 (0)