Closed JeffFaer closed 9 months ago
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 https://github.com/google/keep-sorted/pull/18#discussion_r1450679143 for more details
Tested in a child PR https://github.com/google/keep-sorted/pull/22
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 https://github.com/google/keep-sorted/pull/18#discussion_r1450679143 for more details
Tested in a child PR https://github.com/google/keep-sorted/pull/22