Skip to content

Commit 0fc4a37

Browse files
committed
🔨 add github action for markdown link validation
1 parent 76dc571 commit 0fc4a37

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Markdown Link Validation
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
paths:
8+
- '**/*.md'
9+
- 'Makefile'
10+
- '.github/workflows/markdown-link-lint.yaml'
11+
pull_request:
12+
types: [opened, synchronize, reopened]
13+
paths:
14+
- '**/*.md'
15+
- 'Makefile'
16+
- '.github/workflows/markdown-link-lint.yaml'
17+
workflow_dispatch:
18+
19+
jobs:
20+
validate-links:
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- name: Checkout code
25+
uses: actions/checkout@v4
26+
27+
- name: Install uv
28+
uses: astral-sh/setup-uv@v5
29+
with:
30+
enable-cache: true
31+
32+
- name: Set up Python
33+
run: uv python install
34+
35+
- name: Install dependencies
36+
run: uv sync --dev
37+
38+
- name: Validate links
39+
run: make lint_links

0 commit comments

Comments
 (0)