Skip to content

Commit

Permalink
ci: add testing using go 1.18
Browse files Browse the repository at this point in the history
Add 1.18.x to the matrix for `ubuntu-latest` and bump Mac/Windows to
the same version.

Also use `v1.45` version of `golangci-lint-action` which adds support
for go 1.18
  • Loading branch information
miabbott committed Mar 18, 2022
1 parent feca7b9 commit af3cd14
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Expand Up @@ -14,12 +14,12 @@ jobs:
name: Test build
strategy:
matrix:
go-version: [1.15.x, 1.16.x, 1.17.x]
go-version: [1.15.x, 1.16.x, 1.17.x, 1.18.x]
os: [ubuntu-latest]
include:
- go-version: 1.17.x
- go-version: 1.18.x
os: macos-latest
- go-version: 1.17.x
- go-version: 1.18.x
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -36,5 +36,5 @@ jobs:
uses: golangci/golangci-lint-action@v2
if: ${{ matrix.os == 'ubuntu-latest' }}
with:
version: v1.42.0
version: v1.45
args: -E=gofmt --timeout=30m0s

0 comments on commit af3cd14

Please sign in to comment.