Skip to content
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

pin golang version used by CI #542

Open
jdef opened this issue Mar 10, 2023 · 4 comments
Open

pin golang version used by CI #542

jdef opened this issue Mar 10, 2023 · 4 comments

Comments

@jdef
Copy link
Member

jdef commented Mar 10, 2023

When CI was migrated to github actions, the go version was pinned as a "min version" vs. "exact version" meaning that the version of Go used to produce generated code can shift unexpectedly - and result in unexpected differences at build time.

We should pin the exact Go version used to build.

@humblec
Copy link
Contributor

humblec commented Mar 10, 2023

@jdef considering the gh action use 1.19 , but as a package we have 1.18 in place https://github.com/container-storage-interface/spec/blob/master/go.mod#L3 , isnt this issue requesting to bump up the package declaration to 1.19 ? or you suggest to have 1.18 in CI which in parity with go mod?

@jdef
Copy link
Member Author

jdef commented Mar 10, 2023 via email

@humblec
Copy link
Contributor

humblec commented Mar 10, 2023

one thing which I would suggest to use here is the matrix of versions, ie here in our case we will have a matrix of 1.18, 1.19 and 1.20. That would validate different versions in the CI.. let me file the PR..

@jdef
Copy link
Member Author

jdef commented Mar 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants