Skip to content

Commit

Permalink
CI: set editorconfig-checker version
Browse files Browse the repository at this point in the history
To fix "Error: The binary 'ec-linux-amd64*' not found".
  • Loading branch information
valgur committed Jan 8, 2025
1 parent 5da1763 commit 66900fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 66900fd

Please sign in to comment.