Skip to content

Commit ab45e15

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

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/go.yml

+5-5
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+
- name: Set up Go
17+
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.15
19+
go-version-file: 'go.mod'
2020
id: go
2121

22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
2323

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)