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 command: test
args: --all --release -- --ignored args: --all --release -- --ignored
check_fmt: check_fmt_clippy:
name: Checking fmt and docs name: Checking fmt and docs
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -55,25 +55,11 @@ jobs:
profile: minimal profile: minimal
toolchain: nightly toolchain: nightly
override: true override: true
components: rustfmt components: rustfmt clipopy
- name: fmt - name: fmt
run: cargo fmt --all -- --check 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 - name: clippy
run: cargo clippy --all run: cargo clippy --all