From 5fe42268650d60412b5b1ce18284eb6bd283395d Mon Sep 17 00:00:00 2001 From: Edwin Kofler Date: Sat, 14 Oct 2023 19:19:41 -0700 Subject: [PATCH] ci: Use Go v1.20 for running `editorconfig-checker` (#1086) --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d65381b40..561800f51 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 }}')"