Skip to content

Commit cffcd24

Browse files
committed
fix setup-go
1 parent f7c5f33 commit cffcd24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
name: Build
1212
runs-on: ubuntu-latest
1313
steps:
14+
- name: Check out code into the Go module directory
15+
uses: actions/checkout@v3
1416
- name: Set up Go
1517
uses: actions/setup-go@v3
1618
with:
17-
go-version: '1.19'
19+
go-version-file: 'go.mod'
1820
id: go
19-
- name: Check out code into the Go module directory
20-
uses: actions/checkout@v3
2121
- name: Run GoReleaser
2222
uses: goreleaser/goreleaser-action@v3
2323
with:

0 commit comments

Comments
 (0)