-
Notifications
You must be signed in to change notification settings - Fork 210
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
Cleanup CI config #355
Cleanup CI config #355
Conversation
Thank you for fixing this! cc @apelisse, I don't have as much context around the 1.x test. When go 1.20 is released, I'm assuming 1.x will default to the latest version? Wouldn't it still be useful to have that test around? |
If we want to always test with the latest Go version, we can also use |
.github/workflows/ci.yml
Outdated
include: | ||
- go: '1.x' | ||
gostable: false | ||
go: [ '1.19', '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.
nit, but spaces are inconsistent. I agree with Jeff that I like having 1.x automatically pick the newest version. I'm not a big fan of using stable
or oldstable
since they don't necessarily match the policy that we have. Can we revert that line specifically?
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.
Ok, I reverted that line.
I also don't like stable
and oldstable
very much; I prefer having control on the Go versions used by CI.
However, by keeping both 1.19
and 1.x
, we're wasting CI compute resource 🌱
- Update GitHub actions - Remove duplicated entries in Go versions matrix: - `stable=false` option (which was removed in actions/setup-go@v3) enabled the installation of pre-release Go versions (now possible without that option), but it does not install "tip" version of Go - Jobs '1.x' with gostable=true and gostable=false were therefore duplicates of '1.19' - Use default checkout path and default GOPATH
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Jefftree, olivierlemasle The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
stable=false
option (which was removed in actions/setup-go@v3) enabled the installation of pre-release Go versions (now possible without that option), but it does not install "tip" version of Go