Skip to content
play

GitHub Action

editorconfig-checker-action

v2 Latest version

editorconfig-checker-action

play

editorconfig-checker-action

Using editorconfig-checker/editorconfig-checker to verify your files

Installation

Copy and paste the following snippet into your .yml file.

              

- name: editorconfig-checker-action

uses: editorconfig-checker/action-editorconfig-checker@v2

Learn more about this action in editorconfig-checker/action-editorconfig-checker

Choose a version

Setup EditorConfig Action

This action uses editorconfig-checker to validate files.

Usage

Pre-requisites

Create a workflow .yml file in your repositories .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Inputs

Field Description
version Version (default: latest)

Example workflow

name: EditorConfig Checker

on:
  pull_request:
    branches:
      - main

jobs:
  editorconfig:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v4
      - uses: editorconfig-checker/action-editorconfig-checker@main
      - run: editorconfig-checker

License

MIT LICENSE