Skip to content

Commit

Permalink
Updated Go to 1.18 in Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
msoap committed Apr 9, 2022
1 parent b349d5f commit 1159391
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 ./...
Expand All @@ -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: |
Expand Down

0 comments on commit 1159391

Please sign in to comment.