Skip to content

Commit 4c2ab67

Browse files
authored
tests: ignore prune cache on windows (#6733)
1 parent 7cb0239 commit 4c2ab67

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@v4
2020

2121
- name: 🐍 Setup uv
22-
uses: astral-sh/setup-uv@v5
22+
uses: astral-sh/setup-uv@v6
2323
with:
2424
enable-cache: true
2525
python-version: 3.12

.github/workflows/pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: GitHub Pages
33
on:
44
# Weekly
55
schedule:
6-
- cron: '0 0 * * 0' # Run at midnight UTC on Sunday
6+
- cron: "0 0 * * 0" # Run at midnight UTC on Sunday
77

88
# Allow manual trigger
99
workflow_dispatch: {}
@@ -25,7 +25,7 @@ jobs:
2525
fetch-depth: 0
2626

2727
- name: 🐍 Setup uv
28-
uses: astral-sh/setup-uv@v5
28+
uses: astral-sh/setup-uv@v6
2929
with:
3030
enable-cache: true
3131
python-version: 3.12

.github/workflows/playwright.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
shell: bash
3535
env:
3636
NODE_ENV: test
37-
DEBUG: 'pw:webserver'
37+
DEBUG: "pw:webserver"
3838

3939
steps:
4040
- name: 🛑 Cancel Previous Runs
@@ -54,16 +54,16 @@ jobs:
5454
uses: actions/setup-node@v4
5555
with:
5656
node-version: 22
57-
cache: 'pnpm'
58-
cache-dependency-path: '**/pnpm-lock.yaml'
57+
cache: "pnpm"
58+
cache-dependency-path: "**/pnpm-lock.yaml"
5959

6060
- name: 📦 Build frontend
6161
run: make fe
6262
env:
6363
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6464

6565
- name: 🐍 Setup uv
66-
uses: astral-sh/setup-uv@v5
66+
uses: astral-sh/setup-uv@v6
6767
with:
6868
enable-cache: true
6969
python-version: 3.12

.github/workflows/test_cli.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ jobs:
110110
- uses: actions/checkout@v4
111111

112112
- name: 🐍 Setup uv
113-
uses: astral-sh/setup-uv@v5
114-
# Windows is throwing an error with uv on the Post step
115-
continue-on-error: ${{ matrix.os == 'windows-latest' }}
113+
uses: astral-sh/setup-uv@v6
116114
with:
117115
enable-cache: true
118116
python-version: ${{ matrix.python-version }}
117+
# TODO(https://github.com/astral-sh/setup-uv/issues/226): Remove this.
118+
prune-cache: ${{ matrix.os != 'windows-latest' }}
119119

120120
- name: Install Python deps
121121
run: |
@@ -148,7 +148,7 @@ jobs:
148148
- uses: actions/checkout@v4
149149

150150
- name: 🐍 Setup uv
151-
uses: astral-sh/setup-uv@v5
151+
uses: astral-sh/setup-uv@v6
152152
with:
153153
enable-cache: true
154154
python-version: 3.12

0 commit comments

Comments
 (0)