mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-18 21:36:56 -04:00
Don't fail CI job if dorny/paths-filter step fails (#2263)
Don't fail CI job if `dorny/paths-filter` step fails
This commit is contained in:
committed by
GitHub
parent
06ae5afb57
commit
d1bc7e076a
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -123,6 +123,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: dorny/paths-filter@v3
|
||||
continue-on-error: true
|
||||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
@@ -139,13 +140,13 @@ jobs:
|
||||
- 'Cargo.lock'
|
||||
|
||||
- name: Setup Rust and Prisma
|
||||
if: steps.filter.outputs.changes == 'true'
|
||||
if: steps.filter.outcome != 'success' || steps.filter.outputs.changes == 'true'
|
||||
uses: ./.github/actions/setup-rust
|
||||
with:
|
||||
restore-cache: 'false'
|
||||
|
||||
- name: Run rustfmt
|
||||
if: steps.filter.outputs.changes == 'true'
|
||||
if: steps.filter.outcome != 'success' || steps.filter.outputs.changes == 'true'
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
clippy:
|
||||
@@ -177,6 +178,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: dorny/paths-filter@v3
|
||||
continue-on-error: true
|
||||
id: filter
|
||||
with:
|
||||
filters: |
|
||||
@@ -195,13 +197,13 @@ jobs:
|
||||
- 'Cargo.lock'
|
||||
|
||||
- name: Setup System and Rust
|
||||
if: steps.filter.outputs.changes == 'true'
|
||||
if: steps.filter.outcome != 'success' || steps.filter.outputs.changes == 'true'
|
||||
uses: ./.github/actions/setup-system
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Run Clippy
|
||||
if: steps.filter.outputs.changes == 'true'
|
||||
if: steps.filter.outcome != 'success' || steps.filter.outputs.changes == 'true'
|
||||
uses: actions-rs-plus/clippy-check@v2
|
||||
with:
|
||||
args: --workspace --all-features
|
||||
|
||||
Reference in New Issue
Block a user