diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fba93d2..39daf53 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -47,7 +47,7 @@ jobs: command: test args: --features v6-test --verbose - fmt-and-clippy: + fmt: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -56,12 +56,23 @@ jobs: profile: minimal toolchain: nightly override: true - components: rustfmt, clippy + components: rustfmt - name: Rustfmt uses: actions-rs/cargo@v1 with: command: fmt args: --all -- --check + + clippy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + components: clippy - name: Clippy uses: actions-rs/cargo@v1 with: