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

Bump Go to 1.14 #2294

Merged
merged 6 commits into from
Dec 10, 2021
Merged

Bump Go to 1.14 #2294

merged 6 commits into from
Dec 10, 2021

Conversation

pierreprinetti
Copy link
Contributor

@pierreprinetti pierreprinetti commented Dec 10, 2021

This PR contains several little changes to the test definitions:

  • Test against Go 1.14 (the oldest supported version) and Go tip
  • Let the Goveralls GH action deal with the Goveralls installation
  • Use ubuntu-latest in tests instead of pinning to an arbitrary version
  • Remove a (probably) unneeded explicit install of crypto/ssh
  • Run scripts/unittest in a separate workflow, to increase readability and parallelise work

Additionally, it turns out that we are using in testhelper a method that was introduced in Go 1.14. With this PR, I propose to bump the minimum acceptable version of Go to v1.14 in go.mod.

@pierreprinetti pierreprinetti changed the title Goversions Actions little tweaks Dec 10, 2021
@EmilienM
Copy link
Contributor

LGTM
will wait on CI to merge it.

@pierreprinetti
Copy link
Contributor Author

@EmilienM Please note that I have now bumped Go to v1.14 in go.mod

@pierreprinetti pierreprinetti changed the title Actions little tweaks Bump Go to 1.14 Dec 10, 2021
Running retests in a separate action to increase explicitness and to
parallelise WRT to the other unit tests.
The `testhelper` package uses `http.Header`'s method `Values`, which
[was introduced in GO 1.14][1].

[1]: https://pkg.go.dev/net/http#Header.Values
The syntax for build hints has slightly changed and gofmt complains.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 79.894% when pulling cfaf0b7 on shiftstack:goversions into 8780806 on gophercloud:master.

@EmilienM EmilienM merged commit 18a1ee5 into gophercloud:master Dec 10, 2021
@EmilienM EmilienM deleted the goversions branch December 10, 2021 16:19
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

Successfully merging this pull request may close these issues.

None yet

3 participants