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

ci: build and test with Go 1.23 #871

Merged
merged 2 commits into from
Sep 18, 2024
Merged

ci: build and test with Go 1.23 #871

merged 2 commits into from
Sep 18, 2024

Conversation

phm07
Copy link
Contributor

@phm07 phm07 commented Sep 16, 2024

This PR makes the CI pipeline use Go 1.23 for building and testing. Only setting the toolchain in go.mod is not enough, because the setup-go action does not support the toolchain directive yet, we have to set the Go version to 1.23 in all setup-go CI steps manually.
We could also set the go version in go.mod to 1.23 since we do not have any dependents, but that would be misusing the go directive, since it is only intended to specify the minimum supported language version of the project.

@phm07 phm07 self-assigned this Sep 16, 2024
@phm07 phm07 requested a review from a team as a code owner September 16, 2024 08:26
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.41%. Comparing base (7495b14) to head (c161152).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #871      +/-   ##
==========================================
+ Coverage   61.46%   66.41%   +4.94%     
==========================================
  Files         238      242       +4     
  Lines        8548     8727     +179     
==========================================
+ Hits         5254     5796     +542     
+ Misses       2582     2218     -364     
- Partials      712      713       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

.github/workflows/build.yml Show resolved Hide resolved
@phm07 phm07 merged commit 74e3ae5 into main Sep 18, 2024
5 checks passed
@phm07 phm07 deleted the go-1.23 branch September 18, 2024 10:37
phm07 added a commit to hetznercloud/packer-plugin-hcloud that referenced this pull request Sep 30, 2024
This PR updates the Go version used in our CI to Go 1.23. See
hetznercloud/cli#871 for a previous discussion.
phm07 added a commit to hetznercloud/terraform-provider-hcloud that referenced this pull request Sep 30, 2024
This PR updates the Go version used in our CI to Go 1.23. See
hetznercloud/cli#871 for a previous discussion.
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.

2 participants