mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-04 12:13:27 +00: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:
parent
5b40cefe37
commit
5a7d15d284
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -123,6 +123,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: dorny/paths-filter@v3
|
- uses: dorny/paths-filter@v3
|
||||||
|
continue-on-error: true
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
|
@ -139,13 +140,13 @@ jobs:
|
||||||
- 'Cargo.lock'
|
- 'Cargo.lock'
|
||||||
|
|
||||||
- name: Setup Rust and Prisma
|
- 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
|
uses: ./.github/actions/setup-rust
|
||||||
with:
|
with:
|
||||||
restore-cache: 'false'
|
restore-cache: 'false'
|
||||||
|
|
||||||
- name: Run rustfmt
|
- name: Run rustfmt
|
||||||
if: steps.filter.outputs.changes == 'true'
|
if: steps.filter.outcome != 'success' || steps.filter.outputs.changes == 'true'
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
|
@ -177,6 +178,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: dorny/paths-filter@v3
|
- uses: dorny/paths-filter@v3
|
||||||
|
continue-on-error: true
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
filters: |
|
filters: |
|
||||||
|
@ -195,13 +197,13 @@ jobs:
|
||||||
- 'Cargo.lock'
|
- 'Cargo.lock'
|
||||||
|
|
||||||
- name: Setup System and Rust
|
- 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
|
uses: ./.github/actions/setup-system
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Run Clippy
|
- 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
|
uses: actions-rs-plus/clippy-check@v2
|
||||||
with:
|
with:
|
||||||
args: --workspace --all-features
|
args: --workspace --all-features
|
||||||
|
|
Loading…
Reference in a new issue