CI: Remove obsolete `prefix-key` attributes for `rust-cache` action (#3130)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Tobias Bieniek · committed by GitHub · parent f8f3a03 · Browse files · 1 file·+0 added−11 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+0 added−11 removed
- other:+0 added−11 removed
Provenance
- Commit
c8259dc- Tree
2f456c4- Author
Tobias Bieniek <tobias@bieniek.cloud>- Committer
GitHub <noreply@github.com>- Parent
f8f3a03
1 file changed+0 added−11 removed
modified:.github/workflows/CI.yml-11 removed
19 unmodified lines20 components: clippy, rustfmt21 - uses: Swatinem/rust-cache@v222 with:23 save-if: ${{ github.ref == 'refs/heads/main' }}24- prefix-key: "v0-rust-ubuntu-24.04"24 - name: Check25 run: cargo clippy --workspace --all-targets --all-features -- -D warnings26 - name: rustfmt27 run: cargo fmt --all --check5 unmodified lines33 - uses: dtolnay/rust-toolchain@stable34 - uses: Swatinem/rust-cache@v235 with:36 save-if: ${{ github.ref == 'refs/heads/main' }}38- prefix-key: "v0-rust-ubuntu-24.04"37 - name: cargo doc38 env:39 RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private-doc-tests"40 run: cargo doc --all-features --no-deps8 unmodified lines49 - uses: dtolnay/rust-toolchain@stable50 - uses: Swatinem/rust-cache@v251 with:52 save-if: ${{ github.ref == 'refs/heads/main' }}55- prefix-key: "v0-rust-ubuntu-24.04"53 - name: Install cargo-hack54 run: |55 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/bin56 - name: cargo hack check9 unmodified lines66 - uses: dtolnay/rust-toolchain@nightly67 - uses: Swatinem/rust-cache@v268 with:69 save-if: ${{ github.ref == 'refs/heads/main' }}73- prefix-key: "v0-rust-ubuntu-24.04"70 - name: Install cargo-public-api-crates71 run: |72 cargo install --git https://github.com/jplatte/cargo-public-api-crates73 - name: cargo public-api-crates check12 unmodified lines86 toolchain: ${{ matrix.rust }}87 - uses: Swatinem/rust-cache@v288 with:89 save-if: ${{ github.ref == 'refs/heads/main' }}94- prefix-key: "v0-rust-ubuntu-24.04"90 - name: Run tests91 run: cargo test --workspace --all-features --all-targets92 93 # some examples don't support our MSRV so we only test axum itself on our MSRV10 unmodified lines104 toolchain: ${{ steps.rust-toolchain.outputs.version }}105 - uses: Swatinem/rust-cache@v2106 with:107 save-if: ${{ github.ref == 'refs/heads/main' }}113- prefix-key: "v0-rust-ubuntu-24.04"108 - name: Run nightly tests109 working-directory: axum-macros110 run: cargo test111 11 unmodified lines123 uses: dtolnay/rust-toolchain@nightly124 - uses: Swatinem/rust-cache@v2125 with:126 save-if: ${{ github.ref == 'refs/heads/main' }}133- prefix-key: "v0-rust-ubuntu-24.04"127 - name: Select minimal version128 run: cargo +nightly update -Z minimal-versions129 - name: Fix up Cargo.lock130 run: cargo +nightly update -p crc32fast --precise 1.1.126 unmodified lines157 - uses: dtolnay/rust-toolchain@stable158 - uses: Swatinem/rust-cache@v2159 with:160 save-if: ${{ github.ref == 'refs/heads/main' }}168- prefix-key: "v0-rust-ubuntu-24.04"161 - name: Run doc tests162 run: cargo test --all-features --doc163 164 deny-check:22 unmodified lines187 target: armv5te-unknown-linux-musleabi188 - uses: Swatinem/rust-cache@v2189 with:190 save-if: ${{ github.ref == 'refs/heads/main' }}199- prefix-key: "v0-rust-ubuntu-24.04"191 - name: Check192 env:193 # Clang has native cross-compilation support194 CC: clang18 unmodified lines213 target: wasm32-unknown-unknown214 - uses: Swatinem/rust-cache@v2215 with:216 save-if: ${{ github.ref == 'refs/heads/main' }}226- prefix-key: "v0-rust-ubuntu-24.04"217 - name: Check218 run: >219 cargo220 check7 unmodified lines228 - uses: dtolnay/rust-toolchain@beta229 - uses: Swatinem/rust-cache@v2230 with:231 save-if: ${{ github.ref == 'refs/heads/main' }}242- prefix-key: "v0-rust-ubuntu-24.04"232 - name: Install cargo-sort233 run: |234 cargo install cargo-sort235 # Work around cargo-sort not honoring workspace.exclude17 unmodified lines