summaryrefslogtreecommitdiff
path: root/.github/workflows/checks.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/checks.yml')
-rw-r--r--.github/workflows/checks.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index 4842b6e..6aaa038 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -34,7 +34,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
- go-version: 1.18
+ go-version-file: go.mod
- name: Go test
run: |
go test ./... -race
@@ -49,7 +49,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
- go-version: 1.18
+ go-version-file: go.mod
- name: "Check vet"
run: |
go vet ./...