Skip to content

Commit c8259dc

Browse files
authored
CI: Remove obsolete prefix-key attributes for rust-cache action (#3130)
1 parent f8f3a03 commit c8259dc

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/CI.yml

-11
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- uses: Swatinem/rust-cache@v2
2222
with:
2323
save-if: ${{ github.ref == 'refs/heads/main' }}
24-
prefix-key: "v0-rust-ubuntu-24.04"
2524
- name: Check
2625
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
2726
- name: rustfmt
@@ -35,7 +34,6 @@ jobs:
3534
- uses: Swatinem/rust-cache@v2
3635
with:
3736
save-if: ${{ github.ref == 'refs/heads/main' }}
38-
prefix-key: "v0-rust-ubuntu-24.04"
3937
- name: cargo doc
4038
env:
4139
RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private-doc-tests"
@@ -52,7 +50,6 @@ jobs:
5250
- uses: Swatinem/rust-cache@v2
5351
with:
5452
save-if: ${{ github.ref == 'refs/heads/main' }}
55-
prefix-key: "v0-rust-ubuntu-24.04"
5653
- name: Install cargo-hack
5754
run: |
5855
curl -LsSf https://github.com/taiki-e/cargo-hack/releases/latest/download/cargo-hack-x86_64-unknown-linux-gnu.tar.gz | tar xzf - -C ~/.cargo/bin
@@ -70,7 +67,6 @@ jobs:
7067
- uses: Swatinem/rust-cache@v2
7168
with:
7269
save-if: ${{ github.ref == 'refs/heads/main' }}
73-
prefix-key: "v0-rust-ubuntu-24.04"
7470
- name: Install cargo-public-api-crates
7571
run: |
7672
cargo install --git https://github.com/jplatte/cargo-public-api-crates
@@ -91,7 +87,6 @@ jobs:
9187
- uses: Swatinem/rust-cache@v2
9288
with:
9389
save-if: ${{ github.ref == 'refs/heads/main' }}
94-
prefix-key: "v0-rust-ubuntu-24.04"
9590
- name: Run tests
9691
run: cargo test --workspace --all-features --all-targets
9792

@@ -110,7 +105,6 @@ jobs:
110105
- uses: Swatinem/rust-cache@v2
111106
with:
112107
save-if: ${{ github.ref == 'refs/heads/main' }}
113-
prefix-key: "v0-rust-ubuntu-24.04"
114108
- name: Run nightly tests
115109
working-directory: axum-macros
116110
run: cargo test
@@ -130,7 +124,6 @@ jobs:
130124
- uses: Swatinem/rust-cache@v2
131125
with:
132126
save-if: ${{ github.ref == 'refs/heads/main' }}
133-
prefix-key: "v0-rust-ubuntu-24.04"
134127
- name: Select minimal version
135128
run: cargo +nightly update -Z minimal-versions
136129
- name: Fix up Cargo.lock
@@ -165,7 +158,6 @@ jobs:
165158
- uses: Swatinem/rust-cache@v2
166159
with:
167160
save-if: ${{ github.ref == 'refs/heads/main' }}
168-
prefix-key: "v0-rust-ubuntu-24.04"
169161
- name: Run doc tests
170162
run: cargo test --all-features --doc
171163

@@ -196,7 +188,6 @@ jobs:
196188
- uses: Swatinem/rust-cache@v2
197189
with:
198190
save-if: ${{ github.ref == 'refs/heads/main' }}
199-
prefix-key: "v0-rust-ubuntu-24.04"
200191
- name: Check
201192
env:
202193
# Clang has native cross-compilation support
@@ -223,7 +214,6 @@ jobs:
223214
- uses: Swatinem/rust-cache@v2
224215
with:
225216
save-if: ${{ github.ref == 'refs/heads/main' }}
226-
prefix-key: "v0-rust-ubuntu-24.04"
227217
- name: Check
228218
run: >
229219
cargo
@@ -239,7 +229,6 @@ jobs:
239229
- uses: Swatinem/rust-cache@v2
240230
with:
241231
save-if: ${{ github.ref == 'refs/heads/main' }}
242-
prefix-key: "v0-rust-ubuntu-24.04"
243232
- name: Install cargo-sort
244233
run: |
245234
cargo install cargo-sort

0 commit comments

Comments
 (0)