Add editorconfig and matching Github Workflow.

This commit is contained in:
Fabien Basmaison
2021-03-04 18:40:57 +01:00
parent 0b7b9bb2a6
commit 55ad637da4
2 changed files with 50 additions and 0 deletions

21
.github/workflows/linters-global.yaml vendored Normal file
View 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