Skip to content

Commit 85d62a4

Browse files
committed
ci: disable uv and node caching in all builds
1 parent b04f2e8 commit 85d62a4

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/docs-pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
with:
2323
python-version: "3.13"
2424
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
25+
with:
26+
enable-cache: false
2527
- run: touch src/fava/static/app.js
2628
- run: make docs
2729
- if: github.repository == 'beancount/fava'

.github/workflows/test.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
with:
3939
python-version: ${{ matrix.py }}
4040
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
41+
with:
42+
enable-cache: false
4143
- run: touch src/fava/static/app.js
4244
- run: make ${{ matrix.make_target }}
4345
test-js:
@@ -56,8 +58,7 @@ jobs:
5658
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
5759
with:
5860
node-version: ${{ matrix.node }}
59-
cache: "npm"
60-
cache-dependency-path: frontend/package-lock.json
61+
package-manager-cache: false
6162
- run: cd frontend && npm ci
6263
- run: cd frontend && npm run build
6364
- run: cd frontend && npm test
@@ -73,9 +74,10 @@ jobs:
7374
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
7475
with:
7576
node-version: "lts/*"
76-
cache: "npm"
77-
cache-dependency-path: frontend/package-lock.json
77+
package-manager-cache: false
7878
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
79+
with:
80+
enable-cache: false
7981
- run: cd frontend && npm ci
8082
- run: uv run --no-dev --group pre-commit pre-commit run -a eslint
8183
- run: cd frontend; npx tsc
@@ -90,5 +92,7 @@ jobs:
9092
with:
9193
python-version: "3.13"
9294
- uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
95+
with:
96+
enable-cache: false
9397
- run: touch src/fava/static/app.js
9498
- run: make mypy

0 commit comments

Comments
 (0)