Repository navigation
Commit 2c86135
Run the
The `zizmor` job is fast, single-threaded, and uses little RAM, so it
is the kind of job that `ubuntu-slim` runners are for. Such runners are
created and destroyed faster than full VM runners, and they don't count
toward the concurrent limit on full Ubuntu runners. But the job could
not use `ubuntu-slim`, because `zizmorcore/zizmor-action` ran `zizmor`
in a Docker container. `ubuntu-slim` runners have a `docker` client but
no daemon, so container-based steps can't run there.
Starting in version 0.7.0, `zizmor-action` no longer uses Docker.
Instead, it uses the runner's `python3 -m pip download` to fetch a
hash-pinned `zizmor` wheel, then extracts and runs the executable. The
upstream change was made to support `ubuntu-slim`, and the action's own
selftests now run on it:
zizmorcore/zizmor-action#169
The `ubuntu-slim` image provides Python 3.12 with `pip`, which is all
the new installation method needs.
So this upgrades `zizmor-action` from 0.6.2 to 0.7.1 and switches the
job's runner to `ubuntu-slim`. 0.7.1 is used rather than the newer
0.8.0, because 0.8.0 is still within the 7-day cooldown we give
Dependabot for updates. The `advanced-security` and `annotations`
inputs used here are unchanged in 0.7.1.
`zizmor-action` 0.7.1 defaults to `zizmor` 1.31.1 (up from 1.29.0).
Running both versions locally with the `pedantic` persona reports the
same single finding, a low-severity `ref-version-mismatch` on an
existing line in `release.yml`, so the upgrade should not by itself
introduce any new results.
Co-authored-by: Eliah Kagan <degeneracypressure@gmail.com>zizmor job on ubuntu-slim
1 parent 34c27b2 commit 2c86135
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments