From f38c8f966ba61889953cfb98b0e13d976eface19 Mon Sep 17 00:00:00 2001 From: Marek 'seqre' Grzelak Date: Mon, 25 May 2026 20:11:43 +0200 Subject: [PATCH] chore(ci): remove sccache from CI --- .github/workflows/bencher-base-benchmarks.yml | 3 -- .github/workflows/bencher-pr-benchmarks.yml | 3 -- .github/workflows/rust.yml | 35 ------------------- 3 files changed, 41 deletions(-) diff --git a/.github/workflows/bencher-base-benchmarks.yml b/.github/workflows/bencher-base-benchmarks.yml index 0b7c2cd54..aada5cbd2 100644 --- a/.github/workflows/bencher-base-benchmarks.yml +++ b/.github/workflows/bencher-base-benchmarks.yml @@ -31,9 +31,6 @@ jobs: cache-bin: 'false' save-if: 'false' - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.10 - - name: Setup Bencher uses: bencherdev/bencher@main diff --git a/.github/workflows/bencher-pr-benchmarks.yml b/.github/workflows/bencher-pr-benchmarks.yml index cf2b166d5..e3b47f9f2 100644 --- a/.github/workflows/bencher-pr-benchmarks.yml +++ b/.github/workflows/bencher-pr-benchmarks.yml @@ -33,9 +33,6 @@ jobs: cache-bin: 'false' save-if: 'false' - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.10 - - name: Setup Bencher uses: bencherdev/bencher@main diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 184d58186..e9712ec19 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,8 +12,6 @@ env: CARGO_INCREMENTAL: 0 # Required by cargo-insta: https://insta.rs/docs/quickstart/#continuous-integration CI: true - SCCACHE_GHA_ENABLED: true - RUSTC_WRAPPER: sccache _RUST_STABLE: &rust_stable stable # Pinning the nightly version to a "stable" version to avoid CI breakages. @@ -48,9 +46,6 @@ jobs: shared-key: 'rust-ci' cache-bin: 'false' - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.10 - - name: Run cargo check run: cargo check --all-targets --all-features @@ -87,9 +82,6 @@ jobs: shared-key: 'rust-ci' cache-bin: 'false' - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.10 - - name: Install cargo-nextest uses: taiki-e/install-action@v2 with: @@ -133,9 +125,6 @@ jobs: cache-bin: 'false' save-if: 'false' - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.10 - - name: Run clippy run: cargo clippy --no-deps --all-targets -- -D warnings @@ -162,9 +151,6 @@ jobs: cache-bin: 'false' save-if: 'false' - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.10 - - name: Install cargo-nextest uses: taiki-e/install-action@v2 with: @@ -217,9 +203,6 @@ jobs: cache-bin: 'false' save-if: 'false' - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.10 - - name: Run the external dependencies run: docker compose up -d @@ -269,9 +252,6 @@ jobs: cache-bin: 'false' save-if: 'false' - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.10 - - name: Run fmt run: cargo fmt --all -- --check @@ -281,9 +261,6 @@ jobs: name: Machete dependencies checks runs-on: ubuntu-latest needs: ["check"] - env: - RUSTC_WRAPPER: "" - SCCACHE_GHA_ENABLED: "" steps: - name: Checkout source uses: actions/checkout@v6 @@ -322,9 +299,6 @@ jobs: - name: Install cargo-hack uses: taiki-e/install-action@cargo-hack - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.10 - - name: Run cargo check with minimal versions run: | # Remove dev-dependencies from Cargo.toml to prevent the next `cargo update` @@ -359,9 +333,6 @@ jobs: - name: Install cargo-hack uses: taiki-e/install-action@cargo-hack - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.10 - - name: Run cargo check with every combination of features run: cargo hack check --feature-powerset --depth 3 --exclude-features db --no-dev-deps @@ -407,9 +378,6 @@ jobs: name: License check runs-on: ubuntu-latest - env: - SCCACHE_GHA_ENABLED: "" - RUSTC_WRAPPER: "" steps: - name: Checkout source uses: actions/checkout@v6 @@ -423,9 +391,6 @@ jobs: if: github.event_name == 'pull_request' name: Semver compatibility check runs-on: ubuntu-latest - env: - RUSTC_WRAPPER: "" - SCCACHE_GHA_ENABLED: "" steps: - name: Checkout source uses: actions/checkout@v6