File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 36
36
# yamllint disable-line rule:line-length
37
37
uses : astral-sh/setup-uv@c7f87aa956e4c323abf06d5dec078e358f6b4d04 # v6.0.0
38
38
with :
39
- # prevent cache poisoning
40
- enable-cache : ${{ github.ref_type == 'tag' && 'false' || 'auto' }}
39
+ # yamllint disable-line rule:line-length
40
+ enable-cache : | # zizmor: ignore[cache-poisoning] cache is disabled when publishing to prevent poisoning
41
+ ${{ github.ref_type == 'tag' && 'false' || 'auto' }}
41
42
- name : Build distribution 📦
42
43
run : uv build
43
44
- name : Check distribution 📦
90
91
uses : astral-sh/setup-uv@c7f87aa956e4c323abf06d5dec078e358f6b4d04 # v6.0.0
91
92
with :
92
93
python-version : ${{ matrix.python-version }}
93
- # prevent cache poisoning
94
- enable-cache : ${{ github.ref_type == 'tag' && 'false' || 'auto' }}
94
+ # yamllint disable-line rule:line-length
95
+ enable-cache : | # zizmor: ignore[cache-poisoning] cache is disabled when publishing to prevent poisoning
96
+ ${{ github.ref_type == 'tag' && 'false' || 'auto' }}
95
97
- name : Run pre-commit hooks
96
98
run : |
97
99
uv run make pre-commit
You can’t perform that action at this time.
0 commit comments