combine clippy and fmt

This commit is contained in:
dignifiedquire
2019-11-12 18:31:36 +01:00
parent f835521d31
commit 0bf8c3afde

View File

@@ -44,7 +44,7 @@ jobs:
command: test
args: --all --release -- --ignored
check_fmt:
check_fmt_clippy:
name: Checking fmt and docs
runs-on: ubuntu-latest
steps:
@@ -55,25 +55,11 @@ jobs:
profile: minimal
toolchain: nightly
override: true
components: rustfmt
components: rustfmt clipopy
- name: fmt
run: cargo fmt --all -- --check
clippy_check:
name: Clippy check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: clippy
- name: clippy
run: cargo clippy --all