-
-
Notifications
You must be signed in to change notification settings - Fork 25
35 lines (32 loc) · 889 Bytes
/
lint.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
33
34
35
name: Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize, ready_for_review, edited]
jobs:
markdownlint:
runs-on: ubuntu-latest
container:
image: ghcr.io/vanilla-os/pico:main
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Run markdownlint
run: |
npm install -g markdownlint-cli
markdownlint $(find . -name '*.md' | grep -vF './.git')
codespell:
runs-on: ubuntu-latest
container:
image: ghcr.io/vanilla-os/pico:main
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
with:
path: |
articles/en
only_warn: 1