kasperhesthaven / setup-editorconfig-checker

A GitHub Action for downloading editorconfig-checker by version & adding it to your path, allowing you to lint your files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup Editorconfig Checker

GitHub release GitHub license Test

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.

Inputs

version

Optional The desired version of editorconfig-checker. This will be set to the latest GitHub release version if not set.

command-name

Optional The name by which editorconfig-checker should be available. This defaults to 'editorconfig-checker'.

Usage

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

License

This project is licensed under the Unlicense license - see the LICENSE.txt file for details.

About

A GitHub Action for downloading editorconfig-checker by version & adding it to your path, allowing you to lint your files

License:The Unlicense