Repository navigation
59 lines (47 loc) · 1.79 KB
/
Copy pathvalidate.yml
File metadata and controls
59 lines (47 loc) · 1.79 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
name: Validate
on:
push:
pull_request:
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: "1.25.0"
cache: false
- name: Validate workflow syntax
run: go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12 .github/workflows/*.yml
- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.12"
- name: Set up uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
version: "0.9.26"
- name: Set up Rust
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable 2026-07-31
- name: Set up Node.js
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: "22"
package-manager-cache: false
- name: Validate skill and evaluations
run: make validate
- name: Discover the local skill
run: npx -y skills@1.5.21 add . --list
- name: Smoke-test targeted installation
env:
HOME: ${{ runner.temp }}/skill-home
XDG_CONFIG_HOME: ${{ runner.temp }}/skill-home/.config
npm_config_cache: ${{ runner.temp }}/npm-cache
run: |
npx -y skills@1.5.21 add . --skill rust-engineer -g -a codex -a claude-code -a cursor -a gemini-cli -a github-copilot -a opencode -y
test -f "$HOME/.agents/skills/rust-engineer/SKILL.md"
test -L "$HOME/.claude/skills/rust-engineer"