Skip to content

Commit 2b39ae4

Browse files
committed
chore(gh): go version from go.mod file
Signed-off-by: Dario Tranchitella <[email protected]>
1 parent fe3f639 commit 2b39ae4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
runs-on: ubuntu-20.04
2222
steps:
2323
- uses: actions/checkout@v2
24+
- uses: actions/setup-go@v2
25+
with:
26+
go-version-file: 'go.mod'
2427
- name: Run golangci-lint
2528
uses: golangci/[email protected]
2629
with:
@@ -36,7 +39,7 @@ jobs:
3639
fetch-depth: 0
3740
- uses: actions/setup-go@v2
3841
with:
39-
go-version: '1.20'
42+
go-version-file: 'go.mod'
4043
- run: make release
4144
env:
4245
CGO_ENABLED: 0

0 commit comments

Comments
 (0)