This GitHub action downloads editorconfig-checker by version and adds it to your path, enabling you to lint your files according to your .editorconfig-rules, across multiple file types.
Optional The desired version of editorconfig-checker. This will be set to the latest GitHub release version if not set.
Optional The name by which editorconfig-checker should be available. This defaults to 'editorconfig-checker'.
See action.yml
Basic:
steps:
- name: Checkout repository
uses: actions/checkout@v2.3.4
- name: Install editorconfig-checker
uses: kasperhesthaven/setup-editorconfig-checker@v1.2.0
with:
version: "2.1.0" # (Optional) Defaults to latest if not set
- name: Lint
run: editorconfig-checker
This project is licensed under the Unlicense license - see the LICENSE.txt file for details.