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

go: update module, various cleanup #18

Merged
merged 7 commits into from
Jan 12, 2024
Merged

Conversation

katexochen
Copy link
Contributor

Hey, I hope the PR is okay in this form, otherwise I can also cherry-pick in different PRs if you like. :)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
@katexochen
Copy link
Contributor Author

Oh, we will also need to update to Go 1.21 for this to work.

keepsorted/options.go Show resolved Hide resolved
cmd/cmd.go Show resolved Hide resolved
cmd/cmd.go Show resolved Hide resolved
keepsorted/block.go Outdated Show resolved Hide resolved
@JeffFaer
Copy link
Collaborator

Hey! Sorry for the slow review on this. My email filters weren't set up correctly, so I just hadn't even noticed this PR. This should be fixed moving forward

Thanks for these clean ups!

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
@JeffFaer JeffFaer merged commit a30924a into google:main Jan 12, 2024
3 checks passed
@katexochen katexochen deleted the ioutil branch January 12, 2024 18:05
JeffFaer added a commit that referenced this pull request 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
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.

3 participants