Skip to content

Commit 3c3a381

Browse files
authored
Use go-version-file instead of go-version (#4)
1 parent 7b44938 commit 3c3a381

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Go
2424
uses: actions/setup-go@v3
2525
with:
26-
go-version: 1.19
26+
go-version-file: 'go.mod'
2727
- name: Run tests
2828
run: make test
2929
- name: Run build

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v3
1818
with:
19-
go-version: 1.19
19+
go-version-file: 'go.mod'
2020
- name: Import GPG key
2121
id: import_gpg
2222
uses: crazy-max/ghaction-import-gpg@v5

0 commit comments

Comments
 (0)