Commit 4e74385
authored
ci: pin zizmor nightly online run (#15876)
zizmor runs in the prek phase of CI (version/sha from uv lock file),
but it also runs at night, where it does additional "online" checks
with the github token.
In this case it checks our dependencies does some git inspection and
vulnerability checking and so on. If there are problems, they are
reported to the security tab.
Don't just install "latest" from pypi, instead use the same pinned
version used by prek. Reuse the build cache from prek to avoid
downloads.
Move uv minimum version specifier from setup-uv action into the
pyproject.toml. The value is unchanged, but it keeps it in a single
place.1 parent a646e17 commit 4e74385
3 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | | - | |
| 34 | + | |
27 | 35 | | |
| 36 | + | |
| 37 | + | |
28 | 38 | | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments