Skip to content

Commit fcbe860

Browse files
committed
prefer gomod version
1 parent fec7227 commit fcbe860

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Setup Go
1212
uses: actions/setup-go@v1
1313
with:
14-
go-version: 1.22
14+
go-version-file: 'go.mod'
1515
- name: GoReleaser
1616
uses: goreleaser/goreleaser-action@v1
1717
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Go
1313
uses: actions/setup-go@v1
1414
with:
15-
go-version: 1.22
15+
go-version-file: 'go.mod'
1616
- name: GoReleaser
1717
uses: goreleaser/goreleaser-action@v1
1818
with:

0 commit comments

Comments
 (0)