Skip to content

Commit 199bec2

Browse files
authored
workflow: try to disable python pip and Rust cache (#1191)
* workflow: try to disable python pip cache * also disable Rust cache for now
1 parent 1ad3f9e commit 199bec2

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/_test.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,19 @@ jobs:
3939
id: setup_python
4040
with:
4141
python-version: ${{ matrix.python-version }}
42-
cache: 'pip'
42+
# Python cache is huge and saves little time, so disabled for now, until we have higher cache size limits
43+
# cache: 'pip'
4344

4445
- run: rustup toolchain install stable --profile minimal
4546

46-
- name: Rust Cache
47-
uses: Swatinem/rust-cache@v2
48-
with:
49-
key: rust-${{ matrix.platform.runner }}-${{ matrix.python-version }}
50-
cache-targets: 'false'
51-
cache-all-crates: 'false'
52-
cache-workspace-crates: 'false'
47+
# Disable Rust cache until we have higher cache size limits
48+
# - name: Rust Cache
49+
# uses: Swatinem/rust-cache@v2
50+
# with:
51+
# key: rust-${{ matrix.platform.runner }}-${{ matrix.python-version }}
52+
# cache-targets: 'false'
53+
# cache-all-crates: 'false'
54+
# cache-workspace-crates: 'false'
5355

5456
- name: Rust tests (no default features)
5557
run: cargo test --no-default-features --verbose

0 commit comments

Comments
 (0)