Commit d2de03f
committed
chore(ci): move checkout out of composite setup action
The composite action at .github/actions/setup previously included
actions/checkout@v6 as its first step, which is structurally impossible:
GitHub Actions must load .github/actions/setup/action.yml from disk
before it can execute the composite, but that file only exists on disk
after actions/checkout has run. Result: every job using the composite
failed with "Can't find 'action.yml' ... Did you forget to run
actions/checkout before running your local action?"
Fix: remove the checkout step from the composite action, and add
- uses: actions/checkout@v6 as the explicit first step of each of the
7 jobs that use the composite (prepare, lint, typecheck, test,
repo-integrity, build, pkg-pr-new).
The composite still centralises pnpm + node + install. The checkout
duplication is unavoidable because of how GitHub Actions resolves
local composite action paths.
Bug introduced in b819734 (Stage 1c). Caught on first post-push
CI run.1 parent c5cf891 commit d2de03f
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
56 | 61 | | |
57 | 62 | | |
58 | 63 | | |
| 64 | + | |
59 | 65 | | |
60 | 66 | | |
61 | 67 | | |
| |||
115 | 121 | | |
116 | 122 | | |
117 | 123 | | |
| 124 | + | |
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
| |||
0 commit comments