-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have pre-commit bootstrap go so that GitHub actions don't need to (#21)
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
- Loading branch information
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
- id: keep-sorted | ||
name: keep-sorted | ||
language: golang | ||
language_version: 1.21.6 | ||
entry: keep-sorted |