Commit 959708a
ci: fix duplicate runs and combine fmt/clippy/test (#13)
## What
Fix CI workflow to eliminate duplicate job runs and reduce total number
of checks.
## Why
CI was showing 16 checks with duplicates (Check x2, Rustfmt x2, Clippy
x2, etc.) because both `push` and `pull_request` events were firing for
the same commits.
## How
- Remove `claude/**` from push triggers (PRs handle branch CI via
`pull_request` event)
- Add concurrency group to cancel in-progress runs when new commits are
pushed
- Combine `check`, `fmt`, `clippy`, `test` into single `ci` job
## Result
- Before: 7 jobs running twice = 14+ checks
- After: 4 jobs running once = 4 checks (ci, build, doc, examples)
## Risk
- Low
- CI behavior change only, no code changes
### Checklist
- [x] CI passes
- [x] No code changes, workflow only
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent e82b56d commit 959708a
1 file changed
Lines changed: 12 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 21 | + | |
| 22 | + | |
40 | 23 | | |
41 | 24 | | |
42 | 25 | | |
43 | 26 | | |
44 | 27 | | |
45 | | - | |
| 28 | + | |
46 | 29 | | |
| 30 | + | |
| 31 | + | |
47 | 32 | | |
48 | 33 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 34 | + | |
58 | 35 | | |
59 | 36 | | |
60 | 37 | | |
| |||
0 commit comments