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

chore: test with Go 1.22 #1352

Merged
merged 1 commit into from Feb 7, 2024
Merged

chore: test with Go 1.22 #1352

merged 1 commit into from Feb 7, 2024

Conversation

blgm
Copy link
Collaborator

@blgm blgm commented Feb 7, 2024

  • Rather than hard-coding the Go version in the workflow, we will use the stable and oldstable tags which today resolve to 1.22.0 and 1.21.7, but will float as Go versions change.
  • Some anonymous function names seem to have changed in Go 1.22 and a test had to be modified as a result

- Rather than hard-coding the Go version in the workflow, we will use the
  `stable` and `oldstable` tags which today resolve to 1.22.0 and 1.21.7,
  but will float as Go versions change.
- Some anonymous function names seem to have changed in Go 1.22 and a
  test had to be modified as a result
- uses: actions/checkout@v4
- run: go mod tidy && git diff --exit-code go.mod go.sum
build:
runs-on: ubuntu-latest
strategy:
matrix:
version: [ '1.20', '1.21' ]
version: [ 'oldstable', 'stable' ]
Copy link
Owner

Choose a reason for hiding this comment

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

🎉 I love this - thank you!

@onsi
Copy link
Owner

onsi commented Feb 7, 2024

thanks @blgm this looks good to me. perhaps we can avoid relying on internals for the specific test you had to fix - but, honestly, i don't know that it's worth the effort. appreciate you putting this together!

@onsi onsi merged commit 898cba9 into master Feb 7, 2024
9 checks passed
@blgm blgm deleted the go1.22 branch February 7, 2024 17:33
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

2 participants