File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,17 +3,24 @@ name: Go CLI CI
33on :
44 push :
55 branches : [main]
6- paths : ["cli/**", "sdk/go/**"]
6+ paths :
7+ - .github/workflows/ci-cli.yaml
8+ - cli/**
9+ - sdk/go/**
710 pull_request :
811 branches : [main]
9- paths : ["cli/**", "sdk/go/**"]
12+ paths :
13+ - .github/workflows/ci-cli.yaml
14+ - cli/**
15+ - sdk/go/**
1016 workflow_dispatch :
1117
1218permissions :
1319 contents : read
1420
1521jobs :
16- test :
22+ lint :
23+ name : Lint
1724 runs-on : ubuntu-latest
1825 steps :
1926 - uses : actions/checkout@v6
2229 with :
2330 go-version-file : cli/go.mod
2431
25- - name : Sync skill prompt (SDK dependency)
32+ - name : Sync skill prompt
2633 working-directory : sdk/go
2734 run : make sync-skill
2835
3239 version : v2.10.1
3340 working-directory : cli
3441
42+ - name : Check licenses
43+ working-directory : cli
44+ run : make check-licenses
45+
46+ - name : Check NOTICE
47+ working-directory : cli
48+ run : make check-notice
49+
50+ test :
51+ name : Test
52+ runs-on : ubuntu-latest
53+ steps :
54+ - uses : actions/checkout@v6
55+
56+ - uses : actions/setup-go@v6
57+ with :
58+ go-version-file : cli/go.mod
59+
60+ - name : Sync skill prompt (SDK dependency)
61+ working-directory : sdk/go
62+ run : make sync-skill
63+
3564 - name : Test
3665 working-directory : cli
3766 run : make test
Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66 paths :
7- - " cli/go.mod"
8- - " cli/go.sum"
9- - " cli/NOTICE"
10- - " sdk/go/go.mod"
11- - " sdk/go/go.sum"
12- - " sdk/go/NOTICE"
13- - " build/licenses/**"
7+ - .github/workflows/ci-licenses.yaml
8+ - build/licenses/**
9+ - cli/go.mod
10+ - cli/go.sum
11+ - cli/NOTICE
12+ - sdk/go/go.mod
13+ - sdk/go/go.sum
14+ - sdk/go/NOTICE
1415 pull_request :
1516 branches : [main]
1617 paths :
17- - " cli/go.mod"
18- - " cli/go.sum"
19- - " cli/NOTICE"
20- - " sdk/go/go.mod"
21- - " sdk/go/go.sum"
22- - " sdk/go/NOTICE"
23- - " build/licenses/**"
18+ - .github/workflows/ci-licenses.yaml
19+ - build/licenses/**
20+ - cli/go.mod
21+ - cli/go.sum
22+ - cli/NOTICE
23+ - sdk/go/go.mod
24+ - sdk/go/go.sum
25+ - sdk/go/NOTICE
2426
2527permissions :
2628 contents : read
Original file line number Diff line number Diff line change @@ -3,10 +3,16 @@ name: Plugin CI
33on :
44 push :
55 branches : [main]
6- paths : ["plugins/cq/**", "schema/**"]
6+ paths :
7+ - .github/workflows/ci-plugin.yaml
8+ - plugins/cq/**
9+ - schema/**
710 pull_request :
811 branches : [main]
9- paths : ["plugins/cq/**", "schema/**"]
12+ paths :
13+ - .github/workflows/ci-plugin.yaml
14+ - plugins/cq/**
15+ - schema/**
1016
1117permissions :
1218 contents : read
Original file line number Diff line number Diff line change @@ -3,10 +3,16 @@ name: Go SDK CI
33on :
44 push :
55 branches : [main]
6- paths : ["sdk/go/**", "schema/**"]
6+ paths :
7+ - .github/workflows/ci-sdk-go.yaml
8+ - schema/**
9+ - sdk/go/**
710 pull_request :
811 branches : [main]
9- paths : ["sdk/go/**", "schema/**"]
12+ paths :
13+ - .github/workflows/ci-sdk-go.yaml
14+ - schema/**
15+ - sdk/go/**
1016 workflow_dispatch :
1117
1218permissions :
4450 version : v2.10.1
4551 working-directory : sdk/go
4652
53+ - name : Check licenses
54+ working-directory : sdk/go
55+ run : make check-licenses
56+
57+ - name : Check NOTICE
58+ working-directory : sdk/go
59+ run : make check-notice
4760
4861 test :
4962 name : Test
5669 with :
5770 go-version-file : sdk/go/go.mod
5871
59- - name : Sync skill prompt
60- working-directory : sdk/go
61- run : make sync-skill
62-
6372 - name : Test
6473 working-directory : sdk/go
6574 run : make test
Original file line number Diff line number Diff line change @@ -3,10 +3,16 @@ name: Python SDK CI
33on :
44 push :
55 branches : [main]
6- paths : ["sdk/python/**", "schema/**"]
6+ paths :
7+ - .github/workflows/ci-sdk-python.yaml
8+ - schema/**
9+ - sdk/python/**
710 pull_request :
811 branches : [main]
9- paths : ["sdk/python/**", "schema/**"]
12+ paths :
13+ - .github/workflows/ci-sdk-python.yaml
14+ - schema/**
15+ - sdk/python/**
1016
1117permissions :
1218 contents : read
Original file line number Diff line number Diff line change @@ -3,10 +3,16 @@ name: Server CI
33on :
44 push :
55 branches : [main]
6- paths : ["server/**", "schema/**"]
6+ paths :
7+ - .github/workflows/ci-server.yaml
8+ - schema/**
9+ - server/**
710 pull_request :
811 branches : [main]
9- paths : ["server/**", "schema/**"]
12+ paths :
13+ - .github/workflows/ci-server.yaml
14+ - schema/**
15+ - server/**
1016
1117permissions :
1218 contents : read
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66 paths :
7+ - .github/workflows/release-cli.yaml
8+ - .github/workflows/validate-cli-release.yaml
9+ - build/brew/**
710 - cli/go.mod
811 - cli/internal/version/**
9- - .github/workflows/release-go-cli.yaml
10- - build/brew/**
1112 pull_request :
1213 branches : [main]
1314 paths :
15+ - .github/workflows/release-cli.yaml
16+ - .github/workflows/validate-cli-release.yaml
17+ - build/brew/**
1418 - cli/go.mod
1519 - cli/internal/version/**
16- - .github/workflows/release-go-cli.yaml
17- - build/brew/**
1820 workflow_dispatch :
1921
2022permissions :
Original file line number Diff line number Diff line change @@ -38,15 +38,15 @@ help:
3838 @echo " make check-notice Verify NOTICE is up to date"
3939
4040.PHONY : lint
41- lint : check-notice
41+ lint : check-notice check-licenses
4242 golangci-lint run --fix -v
4343
4444.PHONY : test
45- test : lint
46- go test ./...
45+ test :
46+ go test ./... -v
4747
4848.PHONY : build
49- build : lint
49+ build :
5050 @echo " Building cq (version: $( VERSION) , commit: $( COMMIT) )..."
5151 @go build $(BUILDFLAGS ) -o cq -ldflags=" $( LDFLAGS) " .
5252
You can’t perform that action at this time.
0 commit comments