mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
ci: Use Go v1.20 for running editorconfig-checker (#1086)
This commit is contained in:
parent
bddb987383
commit
5fe4226865
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -17,9 +17,12 @@ jobs:
|
|||
# reviewing!
|
||||
- name: Check out code.
|
||||
uses: actions/checkout@v3
|
||||
- uses: 'actions/setup-go@v4'
|
||||
with:
|
||||
go-version: '1.20'
|
||||
- name: 'Check EditorConfig Lint'
|
||||
run: |
|
||||
sudo apt install -y jq golang
|
||||
sudo apt install -y jq
|
||||
go install 'github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker@latest'
|
||||
|
||||
readarray -t changed_files <<<"$(jq -r '.[]' <<<'${{ steps.files.outputs.added_modified }}')"
|
||||
|
|
|
|||
Loading…
Reference in a new issue