Skip to content

Commit 76983f5

Browse files
committed
Read the version of go from the go.mod file when testing
Signed-off-by: João Pereira <[email protected]>
1 parent 2d71f3b commit 76983f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-gh.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
name: Test GH
1212
runs-on: ubuntu-latest
1313
steps:
14+
- name: Check out code
15+
uses: actions/[email protected]
1416
- name: Set up Go 1.x
1517
uses: actions/setup-go@v3
1618
with:
17-
go-version: "1.17.6"
18-
- name: Check out code
19-
uses: actions/[email protected]
19+
go-version-file: go.mod
2020
- name: Run Tests
2121
run: |
2222
set -e -x

0 commit comments

Comments
 (0)