mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-15 20:56:34 +00:00
23 lines
614 B
YAML
23 lines
614 B
YAML
# @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
|
|
with:
|
|
args: '-show_all_errors -exclude static/js/tabs.js'
|