diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad95909..60e23ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,15 +25,15 @@ jobs: run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... - name: Upload coverage uses: codecov/codecov-action@v1 - build_1_16: - name: Build with Go 1.16 + build_1_18: + name: Build with Go 1.18 runs-on: ubuntu-latest if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'pull_request' steps: - name: Install Go uses: actions/setup-go@v4 with: - go-version: '1.16' + go-version: '1.18' - name: Git checkout uses: actions/checkout@v3 - name: Build and test