Skip to content

chore: test with Go 1.22#1352

Merged
onsi merged 1 commit intomasterfrom
go1.22
Feb 7, 2024
Merged

chore: test with Go 1.22#1352
onsi merged 1 commit intomasterfrom
go1.22

Conversation

@blgm
Copy link
Copy Markdown
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
strategy:
matrix:
version: [ '1.20', '1.21' ]
version: [ 'oldstable', 'stable' ]
Copy link
Copy Markdown
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
Copy Markdown
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
@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.

2 participants