File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Validate Profiles
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+ push :
7+ branches : [main]
8+
9+ jobs :
10+ validate :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - uses : actions/setup-node@v4
16+ with :
17+ node-version : 20
18+
19+ - name : Install agent-ci
20+ run : npm install -g @gtmdev-br/agent-ci
21+
22+ - name : Stage profiles for validation
23+ run : |
24+ mkdir -p ~/.config/opencode/opencode-profiles
25+ ln -s ${{ github.workspace }}/profiles ~/.config/opencode/opencode-profiles/profiles
26+
27+ - name : Validate all profiles
28+ run : agent-ci validate
Original file line number Diff line number Diff line change 1717 <a href =" https://opencode.ai " >
1818 <img src="https://img.shields.io/badge/OpenCode-v1.18+-black?style=for-the-badge&logo=go" alt="OpenCode">
1919 </a >
20+ <a href =" https://github.com/gtmdev-br/opencode-profiles/actions/workflows/validate.yml " >
21+ <img src="https://img.shields.io/github/actions/workflow/status/gtmdev-br/opencode-profiles/validate.yml?style=for-the-badge&logo=github-actions&label=CI&color=success" alt="CI">
22+ </a >
2023 <a href =" https://github.com/gtmdev-br/opencode-profiles " >
2124 <img src="https://img.shields.io/github/repo-size/gtmdev-br/opencode-profiles?style=for-the-badge&color=purple" alt="Repo size">
2225 </a >
You can’t perform that action at this time.
0 commit comments