-
Notifications
You must be signed in to change notification settings - Fork 4
45 lines (36 loc) · 1.2 KB
/
ci.yml
File metadata and controls
45 lines (36 loc) · 1.2 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
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
documentation-structure:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check documentation structure
run: |
# Verify patterns documentation exists
test -d docs/patterns || { echo "Error: docs/patterns/ missing"; exit 1; }
test -f docs/README.md || { echo "Error: docs/README.md missing"; exit 1; }
test -d docs/adr || { echo "Error: docs/adr/ missing"; exit 1; }
echo "All required documentation files present"
repomap-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install repomap dependencies
run: |
pip install uv
uv pip install tree-sitter tree-sitter-python tree-sitter-javascript \
tree-sitter-typescript tree-sitter-go tree-sitter-bash
- name: Validate repomap is current
run: |
chmod +x scripts/update-repomap.sh
./scripts/update-repomap.sh --check