Skip to content

Commit cf1070d

Browse files
authored
Add editorconfig-checker invocation step to workflow
The editorconfig-checker/action-editorconfig-checker action is used in the "Check General Formatting" GitHub Actions workflow. The behavior of that action changed starting from the 2.0.0 release. Previously it ran editorconfig-checker on the files in the workspace. The action now solely serves to make editorconfig-checker available in the runner machine for use in subsequent steps of the job (equivalent to the various popular "setup-*" actions for other frameworks/languages/tools). This means it is now necessary to add a new step to the workflow to actually invoke editorconfig-checker.
1 parent a28727a commit cf1070d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/check-general-formatting.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ jobs:
1818
- name: Checkout repository
1919
uses: actions/checkout@v4
2020

21-
- name: Check formatting
21+
- name: Install editorconfig-checker
2222
uses: editorconfig-checker/[email protected]
23+
24+
- name: Check formatting
25+
run: editorconfig-checker

0 commit comments

Comments
 (0)