Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Go 1.18 support #290

Merged
merged 3 commits into from Mar 22, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Expand Up @@ -9,7 +9,7 @@ jobs:
working-directory: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
strategy:
matrix:
go-version: [1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x]
go-version: [1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -19,12 +19,8 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
with:
Aoang marked this conversation as resolved.
Show resolved Hide resolved
path: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
- name: Checkout dependencies
run: go get golang.org/x/xerrors
- name: Test
run: go test -v -race ./...
- name: Format
if: matrix.go-version == '1.17.x'
if: matrix.go-version == '1.18.x'
run: diff -u <(echo -n) <(gofmt -d .)