-
Notifications
You must be signed in to change notification settings - Fork 63
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
Enforce go-licenses v1.0.0 #396
base: main
Are you sure you want to change the base?
Conversation
This should fixes issues we are getting with `go.mod` files containing the `toolchain` directive. See google/go-licenses#128. Signed-off-by: Matthias Wessendorf <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: matzew The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Tekton was doing similar before: I was getting a lot of
hence I am proposing this |
@matzew what's the exact error related to |
I personally find this a bit annoying:
Am I the only one w/ the |
@@ -918,7 +918,7 @@ function run_kntest() { | |||
# Run go-licenses to check for forbidden licenses. | |||
function check_licenses() { | |||
# Check that we don't have any forbidden licenses. | |||
go_run github.com/google/go-licenses@v1.6.0 \ | |||
go_run github.com/google/go-licenses@v1.0.0 \ |
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 are going back? 🤔 Ok I see:
In v1.1, we made a breaking change of no longer supporting non go modules managed projects
Tekton has it (and go license have breaking changes) but is it a failure or warning? Does it happen on the CI too or is it local? 🤔
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.
There are warning in various CI logs, but I haven't found exit status 1
.
What's the command you are running it through here? |
This should fixes issues we are getting with
go.mod
files containing thetoolchain
directive.See google/go-licenses#128.