diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 4842b6e9..6aaa038b 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 ./...