2021-03-04 17:40:57 +00:00
|
|
|
# @url https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
|
2021-03-31 15:59:52 +00:00
|
|
|
name: Lint project globally
|
2021-03-04 17:40:57 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main, ci ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main, ci ]
|
|
|
|
|
|
|
|
jobs:
|
2021-03-31 15:59:52 +00:00
|
|
|
lint:
|
|
|
|
name: Lint with EditorConfig.
|
2021-03-04 17:40:57 +00:00
|
|
|
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
|
|
|
|
|
2021-03-20 15:19:20 +00:00
|
|
|
- name: EditorConfig
|
2021-03-04 17:40:57 +00:00
|
|
|
uses: greut/eclint-action@v0
|