-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #460 from denis-tingaikin/update-go-1.18
bump: update to go v1.18.1
- Loading branch information
Showing
16 changed files
with
62 additions
and
245 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 |
---|---|---|
|
@@ -31,7 +31,7 @@ jobs: | |
- name: Setup Go | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.16 | ||
go-version: 1.18.1 | ||
- name: Build | ||
run: go build -race ./... | ||
- name: Test | ||
|
@@ -46,11 +46,11 @@ jobs: | |
- name: Setup Go | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.16 | ||
go-version: 1.18.1 | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: v1.31 | ||
version: v1.45.2 | ||
|
||
excludeFmtErrorf: | ||
name: exclude fmt.Errorf | ||
|
@@ -87,7 +87,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.16 | ||
go-version: 1.18.1 | ||
- run: go mod tidy | ||
- name: Check for changes in go.mod or go.sum | ||
run: | | ||
|
@@ -104,11 +104,11 @@ jobs: | |
version: '3.8.0' | ||
- uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.16 | ||
go-version: 1.18.1 | ||
- name: Install proto-gen-go | ||
run: go get -u github.com/golang/protobuf/[email protected] | ||
run: go install github.com/golang/protobuf/[email protected] | ||
- name: Install proto-gen-go | ||
run: go get github.com/searKing/golang/tools/cmd/go-syncmap | ||
run: go install github.com/searKing/golang/tools/cmd/go-syncmap@v1.1.68 | ||
- name: Generate files | ||
run: go generate ./... | ||
- name: Check for changes in generated code | ||
|
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
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
Oops, something went wrong.