From 51d824fbdc43011c29ef9a8de0c9786fb35315f3 Mon Sep 17 00:00:00 2001 From: rakita Date: Tue, 1 Dec 2020 16:40:06 +0100 Subject: [PATCH] Remove sscache (#138) --- .github/workflows/build-test.yml | 38 -------------------------------- 1 file changed, 38 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 52a27a92c..b8c014c43 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -32,38 +32,6 @@ jobs: toolchain: ${{ matrix.toolchain }} profile: minimal override: true - - name: Cache cargo registry - uses: actions/cache@v1.1.2 - with: - path: ~/.cargo/registry - key: ${{ runner.os }}-cargo-registry-build-tests-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo index - uses: actions/cache@v1.1.2 - with: - path: ~/.cargo/git - key: ${{ runner.os }}-cargo-git-build-tests-${{ hashFiles('**/Cargo.lock') }} - - name: Cache cargo build - uses: actions/cache@v1.1.2 - with: - path: target - key: ${{ runner.os }}-cargo-build-target-build-tests-${{ hashFiles('**/Cargo.lock') }} - - name: Cache sccache linux - if: matrix.platform == 'ubuntu-16.04' - uses: actions/cache@v1.1.2 - with: - path: "/home/runner/.cache/sccache" - key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }} - - name: Cache sccache MacOS - if: matrix.platform == 'macos-latest' - uses: actions/cache@v1.1.2 - with: - path: "/Users/runner/Library/Caches/Mozilla.sccache" - key: ${{ runner.os }}-sccache-build-tests-${{ hashFiles('**/Cargo.lock') }} - - name: Install sccache for ${{ matrix.platform }} - shell: pwsh - run: pwsh scripts/actions/install-sccache.ps1 ${{ runner.os}} - - name: Sccache statistics - run: sccache --show-stats - name: Build tests uses: actions-rs/cargo@v1 with: @@ -75,9 +43,3 @@ jobs: with: command: test args: --locked --all --release --features "json-tests" --verbose - - name: Stop sccache - if: always() - run: sccache --stop-server - - name: Prepare build directory for cache - shell: bash - run: bash scripts/actions/clean-target.sh