diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 461b585..051c0b1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version-file: go.mod + go-version: ^1.18 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/status-checks.yml b/.github/workflows/status-checks.yml index 7cc1fd7..782296b 100644 --- a/.github/workflows/status-checks.yml +++ b/.github/workflows/status-checks.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version-file: go.mod + go-version: ^1.18 - name: Run gofmt # gofmt does not return non-zero exit codes on failure, so we have to check that there are no issues using grep. @@ -53,7 +53,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version-file: go.mod + go-version: ^1.18 - name: Run all unit tests run: go test -v ./...