Skip to content

Commit c2e122d

Browse files
ci: install typos + lychee (Tier-2 quality)
typos (crate-ci): fast Rust-based spell-checker for source + docs lychee: broken-link checker for markdown + HTML 100% free for public repos. Both run in <1min. lychee starts with fail=false (warn-only) so first runs don't block merges if the existing markdown has broken links. Flip to fail=true after baseline is clean. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 27e5cd7 commit c2e122d

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

.github/workflows/lychee.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: lychee (broken links)
2+
3+
on:
4+
push:
5+
branches: [master, main]
6+
pull_request:
7+
branches: [master, main]
8+
schedule:
9+
- cron: '29 6 * * 1'
10+
11+
permissions:
12+
contents: read
13+
issues: write
14+
15+
jobs:
16+
links:
17+
runs-on: ubuntu-latest
18+
timeout-minutes: 5
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: lycheeverse/lychee-action@v2
22+
with:
23+
args: --no-progress --max-concurrency 4 --exclude-mail './**/*.md' './**/*.html'
24+
fail: false # warn-only on first install; flip to true once baseline is clean

.github/workflows/typos.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: typos
2+
3+
on:
4+
push:
5+
branches: [master, main]
6+
pull_request:
7+
branches: [master, main]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
typos:
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 3
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: crate-ci/typos@v1.30.0

0 commit comments

Comments
 (0)