From 66900fd1b4a883c11824dfe1de14f5ab1fd67c66 Mon Sep 17 00:00:00 2001 From: Martin Valgur Date: Wed, 8 Jan 2025 13:18:05 +0200 Subject: [PATCH] CI: set editorconfig-checker version To fix "Error: The binary 'ec-linux-amd64*' not found". --- .github/workflows/cpp.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml index 7cf15a3eb..461194afa 100644 --- a/.github/workflows/cpp.yml +++ b/.github/workflows/cpp.yml @@ -130,6 +130,10 @@ jobs: - name: Install editorconfig-checker uses: editorconfig-checker/action-editorconfig-checker@main + with: + # 'latest' v3.1.0 was missing binaries, so had to pin the version + # https://github.com/editorconfig-checker/editorconfig-checker/issues/409 + version: v3.0.3 - name: Check CMakeLists.txt formatting run: find . \( -name 'CMakeLists.txt' \) -exec editorconfig-checker {} \+ || { echo "EditorConfig check failed! See the README if you don't know how to fix this."; exit 1; }