Skip to content

Commit ca863ea

Browse files
committed
Revert "Cache dependencies for CI jobs (model-checking#4181)"
This reverts commit ada8ed3: caching .rustup means we just keep piling up toolchains. We already have 6 GB as cache size, and will eventually just hit the 10 GB limit and not be caching anything anymore. We could revisit caching to build something more effective, but also possible effects of caching are somewhat negligible anyway.
1 parent 15fd4ee commit ca863ea

3 files changed

Lines changed: 0 additions & 59 deletions

File tree

.github/workflows/bench-compiler.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,6 @@ jobs:
3939
ref: ${{ env.NEW_REF }}
4040
fetch-depth: 1
4141

42-
- name: Cache Kani build artifacts
43-
uses: Swatinem/rust-cache@v2
44-
with:
45-
cache-on-failure: true
46-
shared-key: "kani-rust-cache-bench"
47-
workspaces: |
48-
new
49-
new/tools/compile-timer
50-
old
51-
old/tools/compile-timer
52-
cache-directories: "~/.rustup"
53-
5442
- name: Set up Kani Dependencies (old variant)
5543
uses: ./old/.github/actions/setup
5644
with:
@@ -115,18 +103,6 @@ jobs:
115103
ref: ${{ env.NEW_REF }}
116104
fetch-depth: 1
117105

118-
- name: Cache Kani build artifacts
119-
uses: Swatinem/rust-cache@v2
120-
with:
121-
cache-on-failure: true
122-
shared-key: "kani-rust-cache-bench"
123-
workspaces: |
124-
new
125-
new/tools/compile-timer
126-
old
127-
old/tools/compile-timer
128-
cache-directories: "~/.rustup"
129-
130106
- name: Set up Kani Dependencies (old variant)
131107
uses: ./old/.github/actions/setup
132108
with:

.github/workflows/kani.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ jobs:
2323
- name: Checkout Kani
2424
uses: actions/checkout@v5
2525

26-
- name: Cache Kani build artifacts
27-
uses: Swatinem/rust-cache@v2
28-
with:
29-
cache-on-failure: true
30-
shared-key: "kani-rust-cache-dev"
31-
cache-directories: "~/.rustup"
32-
3326
- name: Setup Kani Dependencies
3427
uses: ./.github/actions/setup
3528
with:
@@ -50,13 +43,6 @@ jobs:
5043
sudo apt-get install -y python3-pip
5144
pushd tools/benchcomp && pip3 install -r requirements.txt
5245
53-
- name: Cache Kani build artifacts
54-
uses: Swatinem/rust-cache@v2
55-
with:
56-
cache-on-failure: true
57-
shared-key: "kani-rust-cache-release"
58-
cache-directories: "~/.rustup"
59-
6046
- name: Setup Kani Dependencies
6147
uses: ./.github/actions/setup
6248
with:
@@ -74,13 +60,6 @@ jobs:
7460
- name: Checkout Kani
7561
uses: actions/checkout@v5
7662

77-
- name: Cache Kani build artifacts
78-
uses: Swatinem/rust-cache@v2
79-
with:
80-
cache-on-failure: true
81-
shared-key: "kani-rust-cache-release"
82-
cache-directories: "~/.rustup"
83-
8463
- name: Setup Kani Dependencies
8564
uses: ./.github/actions/setup
8665
with:
@@ -97,12 +76,6 @@ jobs:
9776
- name: Checkout Kani
9877
uses: actions/checkout@v5
9978

100-
- name: Cache Kani build artifacts
101-
uses: Swatinem/rust-cache@v2
102-
with:
103-
cache-on-failure: true
104-
cache-directories: "~/.rustup"
105-
10679
- name: Setup Kani Dependencies
10780
uses: ./.github/actions/setup
10881
with:

.github/workflows/verify-std-check.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@ jobs:
4343
path: kani
4444
fetch-depth: 0
4545

46-
- name: Cache Kani build artifacts
47-
uses: Swatinem/rust-cache@v2
48-
with:
49-
cache-on-failure: true
50-
workspaces: kani
51-
shared-key: "kani-rust-cache-dev"
52-
cache-directories: "~/.rustup"
53-
5446
- name: Setup Kani Dependencies
5547
uses: ./kani/.github/actions/setup
5648
with:

0 commit comments

Comments
 (0)