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

Tests failing on Go 1.22+ #312

Closed
benjaminjkraft opened this issue Feb 15, 2024 · 0 comments · Fixed by #315
Closed

Tests failing on Go 1.22+ #312

benjaminjkraft opened this issue Feb 15, 2024 · 0 comments · Fixed by #315
Labels
bug Something isn't working internal

Comments

@benjaminjkraft
Copy link
Collaborator

benjaminjkraft commented Feb 15, 2024

Not sure what's up (possibly we need newer go/packages? or a go/types bug in 1.22?) but we'll probably need to fix it.

@benjaminjkraft benjaminjkraft added bug Something isn't working internal labels Feb 15, 2024
benjaminjkraft added a commit that referenced this issue Feb 15, 2024
We weren't pinning the Go version for golangci-lint (only the
golangci-lint version); seemingly it breaks on 1.21+. Now we're using a
new version making it easy to pin back to 1.20. Later I'll look at why
1.21+ are failing (#313).

While I was at it I added tests on 1.21 (1.22+ is failing, again will
look later, #312), and upgraded the setup-go action itself.

I have:
- [x] Written a clear PR title and description (above)
- [x] Signed the [Khan Academy CLA](https://www.khanacademy.org/r/cla)
- [x] Added tests covering my changes, if applicable (n/a)
- [x] Included a link to the issue fixed, if applicable (n/a)
- [x] Included documentation, for new features (n/a)
- [x] Added an entry to the changelog (n/a)
benjaminjkraft added a commit that referenced this issue Feb 18, 2024
I guess our x/tools was too old? I'm unclear on how x/tools versioning
works with language versioning. Anyway, now it all works. Fixes #312.

I have:
- [x] Written a clear PR title and description (above)
- [x] Signed the [Khan Academy CLA](https://www.khanacademy.org/r/cla)
- [x] Added tests covering my changes, if applicable (n/a)
- [x] Included a link to the issue fixed, if applicable
- [x] Included documentation, for new features (n/a)
- [x] Added an entry to the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working internal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant