From 239845d9d4aee798604f1b0cb3ae1c21569032c9 Mon Sep 17 00:00:00 2001 From: Grzegorz Prusak Date: Thu, 28 Sep 2023 17:05:54 +0200 Subject: [PATCH] cache coverage arifacts --- .github/workflows/coverage.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index f6919410..f6751a1f 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -4,6 +4,14 @@ on: pull_request: branches: [ "*" ] +env: + CARGO_TERM_COLOR: always + CARGO_INCREMENTAL: "0" + RUSTFLAGS: "-Dwarnings -C linker=clang -C link-arg=-fuse-ld=lld" + RUSTC_WRAPPER: "sccache" + SCCACHE_GHA_ENABLED: "true" + RUST_BACKTRACE: "1" + jobs: check: name: Rust project @@ -14,9 +22,9 @@ jobs: working-directory: ./node steps: - - name: Checkout repository - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - uses: mozilla-actions/sccache-action@v0.0.3 - name: Install stable toolchain uses: actions-rs/toolchain@v1 with: