Skip to content

Commit cfb519f

Browse files
committed
CI: fix editorconfig check with editorconfig-checker 4
editorconfig-checker 4.0.0 renamed its binary from `ec` to `editorconfig-checker`, so the check fails with "command not found" since the unpinned image was updated. Calls the binary by its new name and pins the image to major version 4, so that future breaking releases do not break the CI.
1 parent 7018f52 commit cfb519f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/check.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919

2020
editor-config:
2121
runs-on: ubuntu-latest
22-
container: mstruebing/editorconfig-checker
22+
container: mstruebing/editorconfig-checker:4
2323
steps:
2424
- name: Check out repository code
2525
uses: actions/checkout@v4
2626
- name: Check editorconfig
27-
run: ec --exclude .git --exclude tests/functional/inputs
27+
run: editorconfig-checker --exclude .git --exclude tests/functional/inputs

0 commit comments

Comments
 (0)