diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a018021161..52b83a507e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,6 @@ on: [pull_request] name: CI -env: - RUSTC_WRAPPER: "./ci/sccache" - jobs: test: name: fmt, clippy, test, test --release @@ -31,6 +28,24 @@ jobs: - run: rustup component add rustfmt + - name: Cache cargo registry + uses: actions/cache@v1 + with: + path: ~/.cargo/registry + key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} + + - name: Cache cargo index + uses: actions/cache@v1 + with: + path: ~/.cargo/git + key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} + + - name: Cache compiled valgrind + uses: actions/cache@v1 + with: + path: ~/valgrind-3.6.1/ + key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} + - uses: actions-rs/cargo@v1 name: rustfmt version with: @@ -69,5 +84,3 @@ jobs: with: command: test args: --release - - - run: ./ci/sccache --show-stats diff --git a/ci/sccache b/ci/sccache deleted file mode 100755 index 57ecbea0db..0000000000 Binary files a/ci/sccache and /dev/null differ