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

Have pre-commit bootstrap go so that GitHub actions don't need to #21

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

JeffFaer
Copy link
Collaborator

@JeffFaer JeffFaer commented Feb 6, 2024

It looks like GitHub actions only use go 1.20 by default, so anyone using keep-sorted via the GitHub action pre-commit would need to separately install go 1.21. It looks like pre-commit can do that for us automatically.

See #18 (comment) for more details

Tested in a child PR #22

@JeffFaer JeffFaer force-pushed the jfaer/go-bootstrap branch 7 times, most recently from eaee4dc to 8c89798 Compare February 6, 2024 17:09
@JeffFaer JeffFaer marked this pull request as ready for review February 6, 2024 17:20
KatrinaHoffert
KatrinaHoffert previously approved these changes Feb 6, 2024
.pre-commit-hooks.yaml Show resolved Hide resolved
allow pre-commit to bootstrap the go version for us.
@JeffFaer JeffFaer merged commit dcb7a03 into main Feb 6, 2024
5 checks passed
@JeffFaer JeffFaer deleted the jfaer/go-bootstrap branch February 6, 2024 19:44
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