ci: Use Go v1.20 for running editorconfig-checker (#1086)

This commit is contained in:
Edwin Kofler 2023-10-14 19:19:41 -07:00 committed by GitHub
parent bddb987383
commit 5fe4226865
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}')"