-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (29 loc) · 1.03 KB
/
validate-skills.yml
File metadata and controls
35 lines (29 loc) · 1.03 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
name: Validate Skills
on:
push:
pull_request:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Check Out Repository
uses: actions/checkout@v6
- name: Set Up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Set Up Node
uses: actions/setup-node@v6
with:
node-version: "20"
- name: Install Validation Tools
# Required by skill probe suites that shell out to external CLIs:
# - skills/ripgrep/scripts/probe_ripgrep.py -> `rg --version`
# - skills/httpie/scripts/probe_httpie.py -> `http`, `https`, `httpie`
run: sudo apt-get update && sudo apt-get install -y ripgrep httpie
- name: Validate Skills
shell: bash
# CI validation is driven by the repository scripts directly; it does
# not depend on node_modules, so skip pnpm install and run the shared
# validator entrypoint that local validation uses too.
run: bash scripts/validate-all-skills.sh