Add editorconfig and matching Github Workflow.
This commit is contained in:
21
.github/workflows/linters-global.yaml
vendored
Normal file
21
.github/workflows/linters-global.yaml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# @url https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
|
||||
name: Global Linters
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, ci ]
|
||||
pull_request:
|
||||
branches: [ main, ci ]
|
||||
|
||||
jobs:
|
||||
linters:
|
||||
name: linters
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: EditorConfig lint
|
||||
uses: greut/eclint-action@v0
|
Reference in New Issue
Block a user