-
Notifications
You must be signed in to change notification settings - Fork 32
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.mod #321
Update go.mod #321
Conversation
Update go.mod file to go 1.19
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.
@amolonf you will have to change go.sum
at the same time as go.mod
- run go mod tidy
in the folder and it will be updated
I tried this out myself - the next problem you will have is that golang-ci-lint
will not work with go 1.19
To update this you will have to change ../build-tools common Makefile
Then once that's sorted, you will have to fix linting errors that the new version detects.
I think someone familiar with the code should help out with this CC @adibrastegarnia and @tomikazi
Thank you. @SeanCondon |
@amolonf I have created onosproject/build-tools#208 to get the |
retest this please |
@amolonf can you add
to the end of |
also I can see it is still picking up 1.42 of golangci-lint |
Thank you @SeanCondon |
@amolonf looking at the Jenkins log for this I can see
what this is saying to me is:
It's clear from the 2nd line that because it has reported a version, that it already has the wrong version installed, and is not going to install the correct one. The rest of the build fails because of this Can you change the build container, so that it has v1.50.0 in it please. |
retest this please |
1 similar comment
retest this please |
Now, lint version 1.42 has been updated to 1.50 |
retest this please |
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.
we have liftoff. Thanks to @adibrastegarnia for the other patch
Update go.mod file to go 1.19