Commit d024d20
committed
ci(test-unit): Inline git clone for legacy PHP cells
actions/checkout@v3 has been re-classified as a Node 20 action by the
GitHub Actions runner. Node 20 requires glibc 2.27+, and the official
php:5.6 / php:7.0 docker images are based on Debian 9 (glibc 2.24).
The action errors out before its main logic with:
/__e/node20/bin/node: /lib/x86_64-linux-gnu/libm.so.6: version
\`GLIBC_2.27' not found (required by /__e/node20/bin/node)
This was the original motivation for d6d36a1's host-orchestrated
rewrite. With that revert in place, the matrix design has to provide
its own checkout for legacy PHP cells.
Substitute a plain git clone in those two cells:
git init
git remote add origin https://github.com/<repo>.git
git fetch --no-tags --prune --depth=1 origin +<sha>:refs/remotes/origin/run-head
git checkout --force refs/remotes/origin/run-head
git was installed in the earlier "Install operating system dependencies"
step (it's already in the apt-get install line), so the binary is on
PATH before this step runs. Modern PHP cells continue to use
actions/checkout@v3 unchanged.1 parent da47684 commit d024d20
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
132 | 146 | | |
| 147 | + | |
133 | 148 | | |
134 | 149 | | |
135 | 150 | | |
| |||
0 commit comments