Skip to content

Commit 1a81036

Browse files
committed
ci: validate OpenSpec changes strictly
1 parent 3af9826 commit 1a81036

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: OpenSpec Strict Validate
2+
3+
on:
4+
push:
5+
branches:
6+
- feature/3.0.x
7+
paths:
8+
- 'openspec/**'
9+
- '.github/workflows/openspec-validate.yml'
10+
pull_request:
11+
paths:
12+
- 'openspec/**'
13+
- '.github/workflows/openspec-validate.yml'
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
validate:
20+
name: strict / ${{ matrix.change }}
21+
runs-on: ubuntu-latest
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
change:
26+
- kimi-runtime-foundation
27+
- kimi-acp-lifecycle-hardening
28+
- kimi-typed-protocol
29+
- kimi-unified-events
30+
- kimi-server-websocket
31+
- kimi-process-hardening
32+
- kimi-observability
33+
- kimi-branch-parity
34+
steps:
35+
- uses: actions/checkout@v4
36+
37+
- uses: actions/setup-node@v4
38+
with:
39+
node-version: '22'
40+
41+
- name: Install pinned OpenSpec CLI
42+
run: npm install --global @fission-ai/openspec@1.13.1
43+
44+
- name: Record OpenSpec version
45+
run: openspec --version
46+
47+
- name: Strict validate
48+
env:
49+
OPENSPEC_TELEMETRY: '0'
50+
run: openspec validate "${{ matrix.change }}" --type change --strict --no-interactive

0 commit comments

Comments
 (0)