From 1159391a237422f75b866772c1563429b34d93ca Mon Sep 17 00:00:00 2001 From: Sergey Mudrik Date: Sat, 9 Apr 2022 22:33:36 +0300 Subject: [PATCH] Updated Go to 1.18 in Github Action --- .github/workflows/go.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8a847fa..cb28969 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ['1.16.x', '1.17.x'] + go: ['1.17.x', '1.18.x'] steps: - uses: actions/checkout@v2 @@ -24,7 +24,7 @@ jobs: go-version: ${{ matrix.go }} - name: Install errcheck - run: go get github.com/kisielk/errcheck + run: go install github.com/kisielk/errcheck@latest - name: errcheck run: errcheck -verbose ./... @@ -36,7 +36,7 @@ jobs: run: go test -race -v ./... - name: Coveralls - if: ${{ startsWith(matrix.go, '1.17') && github.event_name == 'push' }} + if: ${{ startsWith(matrix.go, '1.18') && github.event_name == 'push' }} env: COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: |