diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d65381b..561800f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}')"