diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 08f503e884..cd3a68511a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -21,32 +21,32 @@ jobs: # The build artifacts generated by Polkadot projects are already large # and even larger when using llvm-cov. This GH task helps removing some large # files on the host and maximizing disk space(https://github.com/easimon/maximize-build-space) - - name: Maximize build space - uses: easimon/maximize-build-space@master - with: - remove-dotnet: 'true' - remove-android: 'true' - remove-haskell: 'true' + # - name: Maximize build space + # uses: easimon/maximize-build-space@master + # with: + # remove-dotnet: 'true' + # remove-android: 'true' + # remove-haskell: 'true' - uses: actions/checkout@v4 with: submodules: true - # - name: Cache cargo registry & git sources - # uses: actions/cache@v4 - # with: - # path: | - # ~/.cargo/bin/ - # ~/.cargo/registry/ - # ~/.cargo/git/db/ - # key: ${{ runner.os }}-cargo-unittest-${{ hashFiles('**/Cargo.lock') }} - # restore-keys: | - # ${{ runner.os }}-cargo-unittest-${{ hashFiles('**/Cargo.lock') }} - # ${{ runner.os }}-cargo-unittest- - # ${{ runner.os }}-cargo- + - name: Cache cargo registry & git sources + uses: actions/cache@v4 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/ + ~/.cargo/git/db/ + key: ${{ runner.os }}-cargo-unittest-${{ hashFiles('**/Cargo.lock') }} + restore-keys: | + ${{ runner.os }}-cargo-unittest-${{ hashFiles('**/Cargo.lock') }} + ${{ runner.os }}-cargo-unittest- + ${{ runner.os }}-cargo- - # - name: Run sccache - # uses: mozilla-actions/sccache-action@v0.0.4 + - name: Run sccache + uses: mozilla-actions/sccache-action@v0.0.4 - name: Install stable uses: dtolnay/rust-toolchain@stable