Skip to content

Commit

Permalink
Add editorconfig-checker invocation step to workflow
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
per1234 authored Sep 26, 2023
1 parent 2d9de5c commit 2fc46bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion workflow-templates/check-general-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install editorconfig-checker
uses: editorconfig-checker/action-editorconfig-checker@v2.0.0

- name: Check formatting
uses: editorconfig-checker/action-editorconfig-checker@v2
run: editorconfig-checker

0 comments on commit 2fc46bf

Please sign in to comment.