forked from OpenTabletDriver/opentabletdriver.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (28 loc) · 867 Bytes
/
linter.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Linting
on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
jobs:
editorconfig:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Linting with editorconfig-checker
run: |
docker run --rm --volume=${{ github.workspace }}:/check mstruebing/editorconfig-checker
markdown:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Linting with markdownlint-cli
# uses: nosborn/[email protected]
# using our own package until MD051 isn't falsely triggered
uses: gonX/github-action-markdown-cli@e088220481709c8ff1fbff0fc21addf027b95dc1
with:
files: .
dot: true
ignore_files: site/_includes/ # needs special treatment, ignore for now