-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (56 loc) · 1.47 KB
/
Copy pathci.yml
File metadata and controls
66 lines (56 loc) · 1.47 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
name: CI
on:
push:
branches: [main]
paths:
- ".github/workflows/ci.yml"
- ".github/scripts/**"
- "README.md"
- "CITATION.cff"
- "SECURITY.md"
- "scripts/**"
- "skills/**"
pull_request:
branches: [main]
paths:
- ".github/workflows/ci.yml"
- ".github/scripts/**"
- "README.md"
- "CITATION.cff"
- "SECURITY.md"
- "scripts/**"
- "skills/**"
schedule:
- cron: "0 9 * * 1"
workflow_dispatch:
permissions:
contents: read
jobs:
validate:
name: Validate skill source
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.12", "3.13"]
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install validation dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ruff
- name: Check cross-agent portability
run: python3 .github/scripts/check-portability.py
- name: Run skill source checks
run: python3 scripts/validate.py
- name: Verify referenced URLs
run: python3 scripts/verify-urls.py
- name: Payload sync check
run: bash scripts/sync-payload.sh --ci
- name: Ruff check scripts
run: python3 -m ruff check scripts