Skip to content

Commit abcd5ca

Browse files
committed
build: use latest stable Go release
1 parent 6bd7385 commit abcd5ca

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
1616
steps:
1717
- name: Set up Go 1.x
18-
uses: actions/setup-go@v2
18+
uses: actions/setup-go@v4
1919
with:
20-
go-version: '>= 1.20.5'
21-
id: go
20+
go-version: stable
2221

2322
- name: Check out code into the Go module directory
2423
uses: actions/checkout@v3

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717

18-
- uses: actions/setup-go@v2
18+
- name: Set up Go 1.x
19+
uses: actions/setup-go@v4
1920
with:
20-
go-version: '>=1.20.5'
21-
cache: true
21+
go-version: stable
2222

2323
- uses: goreleaser/goreleaser-action@v2
2424
with:

0 commit comments

Comments
 (0)