mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-15 06:22:47 +00:00
maint/cicd ~ always run all GHA:Style testing steps
- always runs all style testing steps regardless of failure of the prior step - with this change, `clippy` tests will run regardless of `fmt` test success/failure .# [why] The GHA:Style testing steps are essentially independent of each other and give independent / complementary information about style issues. So, running all of them despite errors can increase code iteration efficiency. Note: as intended, the GHA:Style job will still fail if any individual step fails.
This commit is contained in:
parent
200c5d2c68
commit
5fb58ce0bc
1 changed files with 1 additions and 0 deletions
1
.github/workflows/CICD.yml
vendored
1
.github/workflows/CICD.yml
vendored
|
@ -33,6 +33,7 @@ jobs:
|
||||||
command: fmt
|
command: fmt
|
||||||
args: --all -- --check
|
args: --all -- --check
|
||||||
- name: "`clippy` testing"
|
- name: "`clippy` testing"
|
||||||
|
if: success() || failure() # run regardless of prior step ("`fmt` testing") success/failure
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: clippy
|
command: clippy
|
||||||
|
|
Loading…
Reference in a new issue