Repository navigation
Conversation
zizmor 1.9.0 introduced a new pedantic check that seems to prevent using any GHA macro. ``` ``` Ref: https://github.com/curl/curl/actions/runs/15461461371/job/43523546041 Follow-up to e522f47 curl#17278
This reverts commit 4471cd7.
45cbaea to
8b2f826
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This reverts commit 4095584.
|
Something changed on GHA, and now the dl-mingw i686 job is broken. Before: After: |
dd2e525 to
f018b11
Compare
|
It's caused by the cache action restoring to the wrong drive, then the build step using the wrong compiler (12.x x64 instead of 6.4.0 i686), then mismatching the CPU for libpsl (i686) at link time. Maybe there is no fast D: drive anymore after this runner update? |
Follow-up to 17a6694 curl#17537 Cherry-picked from curl#17561
There are no longer envs ending with `_VER` in Circle CI. Follow-up to 17a6694 curl#17537
GHA expressions are no longer used and no longer allowed in GHA scripts. Follow-up to 17a6694 curl#17537
The build step was subsequently made verbose for all jobs. Also `-DCMAKE_VERBOSE_MAKEFILE=ON` should only affect the Makefile generator, not Ninja as used in these jobs. Ref: https://cmake.org/cmake/help/latest/variable/CMAKE_VERBOSE_MAKEFILE.html Follow-up to 17a6694 #17537 Follow-up to ac7ae08 #14826 Closes #23130
zizmor 1.9.0 effectively bans using GHA macros within shell script
snippets. Rework them to pass GHA macro values via envs and use those
envs in shell snippets.
${{ env.* }}macros could be convertedto native env references after making their names shell-compatible.
Envs and shell commands can no longer be used in GHA macro values. Most
cases could be fixed by using literals. Passing quoted values with
spaces combined with other args also doesn't work anymore. This was
replaced by passing them separately.
Despite the initial complications, avoiding GHA macros in scripts does
seems to make the CI code reasonable cleaner. It also makes it possible
to analyze the scripts with shellcheck, finding subtle issues that went
unnoticed till now.
Also:
template-injectionissues.and Circle CI YAML files.
differences again.
$HOMEwith~or literal where it made sense.brew --prefixwith literals.curl-install*prefix.tarinstead of storing downloads on disk.PKG_CONFIG_PATHwhen building nghttp3.Ref: https://github.com/curl/curl/actions/runs/15461461371/job/43523546041
Ref: https://github.com/zizmorcore/zizmor/releases/tag/v1.9.0
Follow-up to e522f47 #17278