Skip to content

kasperhesthaven/setup-editorconfig-checker

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks