Skip to content

Commit df68c38

Browse files
committed
Disable uv cache to prevent cache poisoning
A malicious PR could poison the uv cache and affect subsequent runs. Disable caching on both the test and release jobs — the ~10s install time is not worth the attack surface.
1 parent a4ad367 commit df68c38

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
8787
with:
8888
python-version-file: "posit-bakery/pyproject.toml"
89+
enable-cache: false
8990

9091
- name: Install dependencies
9192
working-directory: ./posit-bakery
@@ -228,6 +229,7 @@ jobs:
228229
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
229230
with:
230231
python-version-file: "posit-bakery/pyproject.toml"
232+
enable-cache: false
231233

232234
- name: Install dependencies
233235
working-directory: ./posit-bakery

0 commit comments

Comments
 (0)