mirror of
https://github.com/uutils/coreutils
synced 2024-07-24 03:14:22 +00:00
maint/CICD ~ add cargo fmt
style testing of tests
This commit is contained in:
parent
511f138e38
commit
aea98a40e0
7
.github/workflows/CICD.yml
vendored
7
.github/workflows/CICD.yml
vendored
|
@ -58,8 +58,13 @@ jobs:
|
|||
with:
|
||||
command: fmt
|
||||
args: --all -- --check
|
||||
- name: "`fmt` testing of tests"
|
||||
if: steps.vars.outputs.JOB_DO_FORMAT_TESTING
|
||||
shell: bash
|
||||
run: |
|
||||
find tests -name "*.rs" -print0 | xargs -0 cargo fmt -- --check
|
||||
- name: "`clippy` testing"
|
||||
if: success() || failure() # run regardless of prior step ("`fmt` testing") success/failure
|
||||
if: success() || failure() # run regardless of prior step success/failure
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: clippy
|
||||
|
|
Loading…
Reference in a new issue