-
Notifications
You must be signed in to change notification settings - Fork 22
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
Update go to 1.18 #131
Update go to 1.18 #131
Conversation
.github/workflows/ci.yaml
Outdated
@@ -99,14 +99,15 @@ jobs: | |||
- uses: actions/checkout@v2 | |||
- uses: arduino/setup-protoc@master | |||
with: | |||
version: '3.14.0' | |||
version: '3.19.4' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xzfc Why do we need to update protoc?
Signed-off-by: Albert Safin <albert.safin@xored.com>
- name: Install proto-gen-go | ||
run: go get -u github.com/golang/protobuf/protoc-gen-go@v1.5.2 | ||
run: go install github.com/golang/protobuf/protoc-gen-go@v1.5.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can move this to go generate://
section.
@@ -48,11 +48,11 @@ jobs: | |||
- name: Setup Go | |||
uses: actions/setup-go@v1 | |||
with: | |||
go-version: 1.16 | |||
go-version: 1.18 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change version to 1.18.1
Resolved via #132 |
networkservicemesh/sdk#1264
go.mod
files to usego 1.18
.golint
->revive
,scopelint
-> exportloopref`.goheader
linting rule configuration.* List tool dependencies intools.go
as recommended in the official go wiki, since installing tools viago get
no longer works for go 1.18.