-
-
Notifications
You must be signed in to change notification settings - Fork 72
Bump golang.org/x/crypto from 0.31.0 to 0.42.0 #193
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
Conversation
go mod tidy
in example/*
.
example/gui-linux/go.mod
Outdated
module github.com/Code-Hex/vz/example/gui-linux | ||
|
||
go 1.22.0 | ||
go 1.23.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.
Now Go 1.22 CI seems useless, as it is automatically updated to Go 1.23
vz/.github/workflows/compile.yml
Line 35 in 5bbaec6
- '^1.22' |
Setting GOTOOLCHAIN=local
will prevent the auto update.
@cfergeau Could you handle this PR? 🙏 |
d3d05ee
to
2370251
Compare
I’ve updated the PR:
|
This ensures GOTOOLCHAIN is set to `local`, which avoids silent downloads of newer go versions when the version in `go.mod` is newer than is specified in the workflow definition. Signed-off-by: Christophe Fergeau <[email protected]>
These are the 2 versions which are currently supported upstream. Signed-off-by: Christophe Fergeau <[email protected]>
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.31.0 to 0.42.0. - [Commits](golang/crypto@v0.31.0...v0.42.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.42.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Christophe Fergeau <[email protected]>
By telling it there are go.mod files in example/*, hopefully this will limit the need for commits where we run `go mod tidy` ourselves. Signed-off-by: Christophe Fergeau <[email protected]>
With newer go versions, `go vet` reports: ``` cmd/addtags/main.go:19:25: non-constant format string in call to fmt.Fprintf cmd/addtags/main.go:24:25: non-constant format string in call to fmt.Fprintf ``` This happens because of the use of [1:] to remove an unwanted `\n` at the beginning of the string. This commit switches to `Fprint` instead of `Fprintf` as there are no substitutions to be made in the string. Signed-off-by: Christophe Fergeau <[email protected]>
bdf8f37
to
2bc6eae
Compare
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.
Thank you!
This supersedes #190 and hopefully fixes the CI failures by running
go mod tidy
inexample/*
.