Commit e119b54
committed
ci(code-quality): fix all jobs — remove cache, unify install flags
Root cause: without composer.lock, hashFiles('**/composer.lock') returns
an empty string, so all jobs shared the same cache key 'Linux-composer-'.
The security job installed with --no-dev and cached first; subsequent jobs
restored that cache and ended up with a vendor/ missing dev packages.
Fix:
- Remove all Composer cache blocks (no lock file = no stable cache key;
cold install on ubuntu-latest takes ~15s, not worth the risk)
- Remove --no-dev from security job (composer audit works on installed
packages — no need for a separate --no-dev install)
- Add --no-scripts to all composer install steps
- php bin/kcode in all kcode steps (vendor/bin/kcode is not created when
running inside the devkit repo itself)1 parent 0ce6e27 commit e119b54
1 file changed
Lines changed: 4 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 35 | | |
47 | 36 | | |
48 | 37 | | |
| |||
65 | 54 | | |
66 | 55 | | |
67 | 56 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 57 | + | |
| 58 | + | |
81 | 59 | | |
82 | 60 | | |
83 | 61 | | |
| |||
98 | 76 | | |
99 | 77 | | |
100 | 78 | | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 79 | | |
113 | | - | |
| 80 | + | |
114 | 81 | | |
115 | 82 | | |
116 | 83 | | |
| |||
134 | 101 | | |
135 | 102 | | |
136 | 103 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | 104 | | |
149 | | - | |
| 105 | + | |
150 | 106 | | |
151 | 107 | | |
152 | 108 | | |
| |||
0 commit comments