mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-27 23:54:14 +02:00
ci: go back to a paths_ignore for ci workflow (#615)
Reverts to using paths_ignore for CI workflow.
This commit is contained in:
parent
175abf5db0
commit
363138abab
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
concurrent_skipping: "same_content_newer"
|
concurrent_skipping: "same_content_newer"
|
||||||
skip_after_successful_duplicate: "true"
|
skip_after_successful_duplicate: "true"
|
||||||
paths: '["tests/**", "src/**", ".github/workflows/ci.yml", ".cargo/**", "Cargo.toml", "Cargo.lock", "build.rs", "clippy.toml", "rustfmt.toml"]'
|
paths_ignore: '["**/README.md", "**/docs/**", "assets/**", ".cargo-husky/**", ".all-contributorsrc", ".gitignore", ".markdownlint.json", "deployment/**", ".github/ISSUE_TEMPLATE/**", "CHANGELOG.md", "CONTRIBUTING.md"]'
|
||||||
do_not_skip: '["workflow_dispatch"]'
|
do_not_skip: '["workflow_dispatch"]'
|
||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
@ -78,7 +78,8 @@ jobs:
|
|||||||
|
|
||||||
# Run cargo --check on all platforms
|
# Run cargo --check on all platforms
|
||||||
check:
|
check:
|
||||||
needs: [rustfmt, clippy]
|
needs: [pre_job, rustfmt, clippy]
|
||||||
|
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
||||||
runs-on: ${{ matrix.triple.os }}
|
runs-on: ${{ matrix.triple.os }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
strategy:
|
strategy:
|
||||||
@ -207,7 +208,8 @@ jobs:
|
|||||||
|
|
||||||
# Check without the battery feature enabled on x86-64 for supported operating systems
|
# Check without the battery feature enabled on x86-64 for supported operating systems
|
||||||
check-without-battery:
|
check-without-battery:
|
||||||
needs: [rustfmt, clippy]
|
needs: [pre_job, rustfmt, clippy]
|
||||||
|
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
||||||
runs-on: ${{ matrix.triple.os }}
|
runs-on: ${{ matrix.triple.os }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
strategy:
|
strategy:
|
||||||
@ -257,7 +259,8 @@ jobs:
|
|||||||
|
|
||||||
# Run tests x86-64 for supported operating systems
|
# Run tests x86-64 for supported operating systems
|
||||||
test:
|
test:
|
||||||
needs: [rustfmt, clippy]
|
needs: [pre_job, rustfmt, clippy]
|
||||||
|
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
||||||
runs-on: ${{ matrix.triple.os }}
|
runs-on: ${{ matrix.triple.os }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user