-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (58 loc) · 1.69 KB
/
ci.yml
File metadata and controls
71 lines (58 loc) · 1.69 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
markdown-lint:
name: Markdown Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install markdownlint-cli
run: npm install -g markdownlint-cli
- name: Run markdownlint
run: markdownlint '**/*.md' --config .markdownlint.json || true
validate-links:
name: Validate Links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install markdown-link-check
run: npm install -g markdown-link-check
- name: Check links
run: |
find . -name "*.md" -not -path "./.git/*" -exec markdown-link-check -q {} \; || true
check-spelling:
name: Check Spelling (French)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install codespell
run: pip install codespell
- name: Run codespell
run: codespell --lang fr,en --skip ".git,node_modules" || true
build:
name: Verify Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Verify README exists
run: |
test -f README.md && echo "README.md exists"
head -10 README.md
- name: Check all standard files exist
run: |
files=(
"README.md"
"LICENSE"
"CODE_OF_CONDUCT.md"
"CONTRIBUTING.md"
"CHANGELOG.md"
"SECURITY.md"
".gitignore"
)
for file in "${files[@]}"; do
test -f "$file" && echo "✓ $file exists" || echo "✗ $file missing"
done