diff --git a/.github/workflows/benchmark.yaml b/.github/workflows/benchmark.yaml index 6eb8cee8..37deede6 100644 --- a/.github/workflows/benchmark.yaml +++ b/.github/workflows/benchmark.yaml @@ -115,3 +115,9 @@ jobs: - name: Check for performance regressions run: node ci/github-actions/check-for-performance-regressions.js + + - name: Clean workspace artifacts before cache + if: always() + continue-on-error: true + shell: bash + run: cargo clean --workspace diff --git a/.github/workflows/clippy.yaml b/.github/workflows/clippy.yaml index 5842e0cb..0258427a 100644 --- a/.github/workflows/clippy.yaml +++ b/.github/workflows/clippy.yaml @@ -58,3 +58,9 @@ jobs: BUILD: 'false' TEST: 'false' run: ./test.sh + + - name: Clean workspace artifacts before cache + if: always() + continue-on-error: true + shell: bash + run: cargo clean --workspace diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 15e3c8f0..7b05ef20 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -616,3 +616,9 @@ jobs: asset_path: ./tmp.benchmark-reports.tar.gz asset_name: benchmark-reports.tar.gz asset_content_type: application/x-compressed-tar + + - name: Clean workspace artifacts before cache + if: always() + continue-on-error: true + shell: bash + run: cargo clean --workspace diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c942c29d..d4fecd84 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -73,3 +73,9 @@ jobs: BUILD_FLAGS: '--locked' TEST_FLAGS: '--no-fail-fast' run: ./test.sh --release + + - name: Clean workspace artifacts before cache + if: always() + continue-on-error: true + shell: bash + run: cargo clean --workspace