Skip to content

Commit 5fe4226

Browse files
authored
ci: Use Go v1.20 for running editorconfig-checker (#1086)
1 parent bddb987 commit 5fe4226

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@ jobs:
1717
# reviewing!
1818
- name: Check out code.
1919
uses: actions/checkout@v3
20+
- uses: 'actions/setup-go@v4'
21+
with:
22+
go-version: '1.20'
2023
- name: 'Check EditorConfig Lint'
2124
run: |
22-
sudo apt install -y jq golang
25+
sudo apt install -y jq
2326
go install 'github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker@latest'
2427
2528
readarray -t changed_files <<<"$(jq -r '.[]' <<<'${{ steps.files.outputs.added_modified }}')"

0 commit comments

Comments
 (0)