use nightly fmt

This commit is contained in:
Paul Woolcock
2020-09-25 16:44:06 -04:00
parent 7487f607e6
commit 602bfb7cdd
7 changed files with 54 additions and 31 deletions
+7 -13
View File
@@ -20,13 +20,13 @@ jobs:
- nightly
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: clippy
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: build
@@ -36,17 +36,11 @@ jobs:
command: test
args: --features all --verbose
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --features all -- -D warnings
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
if: ${{ matrix.rust == 'nightly' }}
with:
command: fmt
args: --verbose --all -- --check
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --features all -- -D warnings