From 9d238283450ce4e9d860a185bea702a6eaee73db Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Thu, 31 Oct 2024 12:04:08 +0000 Subject: [PATCH] Revert "Try sccache" This reverts commit 6d2150d1b231bdaac08671978b4aad2fbec45a95. --- .github/workflows/build.yml | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 66cf4ab..b1d87e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,9 +7,6 @@ on: env: CARGO_TERM_COLOR: always RUST_BINARY_NAME: monzo-ingestion - SCCACHE_GHA_ENABLED: "on" - SCCACHE_GHA_VERSION: "1" - RUSTC_WRAPPER: "sccache" jobs: build: @@ -36,18 +33,15 @@ jobs: apt-get update apt-get install -y gcc-aarch64-linux-gnu build-essential musl-tools - - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.6 - -# - name: Cache dependencies -# uses: actions/cache@v3 -# with: -# path: | -# ~/.cargo -# target/ -# key: "${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}" -# restore-keys: | -# ${{ runner.os }}-cargo- + - name: Cache dependencies + uses: actions/cache@v3 + with: + path: | + ~/.cargo + target/ + key: "${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}" + restore-keys: | + ${{ runner.os }}-cargo- - name: Build (x86_64) uses: actions-rs/cargo@v1 @@ -99,10 +93,6 @@ jobs: build-args: | BINARY_NAME=${{ env.RUST_BINARY_NAME }} - - name: Run sccache stat for check - shell: bash - run: ${SCCACHE_PATH} --show-stats - - uses: robiningelbrecht/ntfy-action@v1.0.0 name: Notify via ntfy.sh if: always()