Skip to content

Commit e3900fb

Browse files
committed
ci: drop unnecessary if guards and add continue-on-error to clean steps
Remove the `if: matrix.os != 'macos-latest'` condition from the clean steps in test.yaml and clippy.yaml since it's unnecessary, and add `continue-on-error: true` to all clean steps so a failure doesn't fail the CI. https://claude.ai/code/session_014NgdhJMEQSguQ8yXAuTfnq
1 parent 03d2a4f commit e3900fb

4 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/benchmark.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,6 @@ jobs:
117117
run: node ci/github-actions/check-for-performance-regressions.js
118118

119119
- name: Clean workspace artifacts before cache
120+
continue-on-error: true
120121
shell: bash
121122
run: cargo clean --workspace

.github/workflows/clippy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ jobs:
6060
run: ./test.sh
6161

6262
- name: Clean workspace artifacts before cache
63-
if: matrix.os != 'macos-latest'
63+
continue-on-error: true
6464
shell: bash
6565
run: cargo clean --workspace

.github/workflows/deploy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -618,5 +618,6 @@ jobs:
618618
asset_content_type: application/x-compressed-tar
619619

620620
- name: Clean workspace artifacts before cache
621+
continue-on-error: true
621622
shell: bash
622623
run: cargo clean --workspace

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ jobs:
7575
run: ./test.sh --release
7676

7777
- name: Clean workspace artifacts before cache
78-
if: matrix.os != 'macos-latest'
78+
continue-on-error: true
7979
shell: bash
8080
run: cargo clean --workspace

0 commit comments

Comments
 (0)