Move fmtcheck down

This commit is contained in:
Temirkhan Myrzamadi 2020-03-27 18:54:06 +06:00 committed by GitHub
parent a4d6673a91
commit 5ef8565509
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,13 +50,6 @@ jobs:
command: test command: test
args: --verbose --all-features args: --verbose --all-features
- name: fmt
uses: actions-rs/cargo@v1
if: matrix.rust == 'nightly'
with:
command: fmt
args: --all -- --check
- name: stable/beta clippy - name: stable/beta clippy
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
if: matrix.rust == 'stable' || matrix.rust == 'beta' if: matrix.rust == 'stable' || matrix.rust == 'beta'
@ -70,3 +63,10 @@ jobs:
with: with:
command: clippy command: clippy
args: --all-targets --all-features -- -D warnings args: --all-targets --all-features -- -D warnings
- name: fmt
uses: actions-rs/cargo@v1
if: matrix.rust == 'nightly'
with:
command: fmt
args: --all -- --check