From cc54a275b557a0954b3c0d7453e44c12b8e19f62 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Sat, 27 Apr 2024 00:37:59 -0700 Subject: [PATCH] enable sccache --- .github/workflows/autofix-rust.yml | 5 +++++ .github/workflows/bloat.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/autofix-rust.yml b/.github/workflows/autofix-rust.yml index 1131ad193557..faa74c5a5fbd 100644 --- a/.github/workflows/autofix-rust.yml +++ b/.github/workflows/autofix-rust.yml @@ -22,6 +22,11 @@ concurrency: jobs: autofix: + env: + CARGO_TERM_COLOR: always + SCCACHE_GHA_ENABLED: true + RUSTC_WRAPPER: sccache + CARGO_INCREMENTAL: 0 runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/bloat.yml b/.github/workflows/bloat.yml index 83a304dbdb24..002e9bc9436d 100644 --- a/.github/workflows/bloat.yml +++ b/.github/workflows/bloat.yml @@ -8,6 +8,11 @@ name: bloat jobs: cargo_bloat: + env: + CARGO_TERM_COLOR: always + SCCACHE_GHA_ENABLED: true + RUSTC_WRAPPER: sccache + CARGO_INCREMENTAL: 0 runs-on: ubuntu-latest steps: - uses: actions/checkout@master