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

github: add Go 1.23 testing and make staticcheck work locally with go1.23 #7751

Merged
merged 5 commits into from
Oct 25, 2024

Conversation

arjan-bal
Copy link
Contributor

RELEASE NOTES: None

@arjan-bal arjan-bal added this to the 1.69 Release milestone Oct 17, 2024
@arjan-bal arjan-bal requested a review from dfawley October 17, 2024 04:08
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.61%. Comparing base (4544b8a) to head (6526e71).
Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7751      +/-   ##
==========================================
- Coverage   82.22%   79.61%   -2.61%     
==========================================
  Files         362      365       +3     
  Lines       28116    36362    +8246     
==========================================
+ Hits        23118    28951    +5833     
- Misses       3819     6203    +2384     
- Partials     1179     1208      +29     

see 319 files with indirect coverage changes

@@ -43,35 +43,35 @@ jobs:
matrix:
include:
- type: vet
goversion: '1.22'
goversion: '1.23'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we agreed to keep vet running at 1.22?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, reverted to 1.22 for vet. There is a problem in vet.sh where it sets PATH using GOROOT even when GOROOT is unset. Because of that, vet was using go1.23. I've made the fix in this PR.

@dfawley dfawley assigned arjan-bal and unassigned dfawley Oct 18, 2024
@arjan-bal arjan-bal force-pushed the bump-ci-go-version branch 2 times, most recently from 29fab3b to ac7e7be Compare October 21, 2024 04:30
@arjan-bal arjan-bal assigned dfawley and unassigned arjan-bal Oct 21, 2024
@arjan-bal arjan-bal changed the title github: add Go 1.23 testing github: add Go 1.23 testing and make staticcheck work locally with new go1.23 Oct 24, 2024
@arjan-bal arjan-bal changed the title github: add Go 1.23 testing and make staticcheck work locally with new go1.23 github: add Go 1.23 testing and make staticcheck work locally with go1.23 Oct 24, 2024
@arjan-bal
Copy link
Contributor Author

@dfawley, I've removed the -go flag being passed to staticcheck and that seems to have fixed the failures while using go1.23 locally.

@dfawley dfawley merged commit a0cbb52 into grpc:master Oct 25, 2024
13 checks passed
@arjan-bal arjan-bal added the Area: Tooling Includes anything related to Go builds, modules etc and includes Releases & Github Workflows. label Nov 6, 2024
misvivek pushed a commit to misvivek/grpc-go that referenced this pull request Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Tooling Includes anything related to Go builds, modules etc and includes Releases & Github Workflows. Type: Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants