-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Go version support to 1.18 and onward
- Loading branch information
1 parent
d10a096
commit b39be5d
Showing
17 changed files
with
852 additions
and
842 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,18 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
go_version: ["1.18.1", "1.17.6", "1.16.5"] | ||
go_version: ["1.20", "1.19", "1.18"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Go | ||
uses: actions/[email protected] | ||
with: | ||
go-version: ${{ matrix.go_version }} | ||
- run: ./.ci.gogenerate.sh | ||
- run: ./.ci.gofmt.sh | ||
- name: Go generate | ||
if: ${{ matrix.go_version != 1.18 }} | ||
run: ./.ci.gogenerate.sh | ||
- name: Go fmt | ||
if: ${{ matrix.go_version != 1.18 }} | ||
run: ./.ci.gofmt.sh | ||
- run: ./.ci.govet.sh | ||
- run: go test -v -race ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.