Skip to content
check

GitHub Action

Easy Coding Standard Action

0.0.6 Latest version

Easy Coding Standard Action

check

Easy Coding Standard Action

Use Easy Coding Standard via GithubAction

Installation

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

              

- name: Easy Coding Standard Action

uses: zingimmick/ecs-action@0.0.6

Learn more about this action in zingimmick/ecs-action

Choose a version

GithubAction for Easy Coding Standard

Usage

You can use it as a Github Action like this:

.github/workflows/lint.yml

on: [push, pull_request]
name: lint
jobs:
  ecs:
    name: Easy Coding Standard
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Easy Coding Standard Action
      uses: zingimmick/ecs-action@0.0.4

to use a custom config for example, --fix and --clear-cache option:

on: [push, pull_request]
name: lint
jobs:
  ecs:
    name: Easy Coding Standard
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Easy Coding Standard Action
      uses: zingimmick/ecs-action@0.0.4
      with:
+        version: v8.1.6
+        args: --config=ecs.yaml --fix --clear-cache

You can copy/paste the .github folder (under examples/) to your project and that's all!