This commit is contained in:
Chris Tsang 2022-10-16 17:25:58 +08:00
parent 1aa84589dc
commit ae0231d4a5

View File

@ -394,6 +394,10 @@ jobs:
toolchain: stable
override: true
- name: check rustfmt
run: |
cargo fmt --manifest-path ${{ matrix.path }} --all -- --check
- uses: actions-rs/cargo@v1
with:
command: build
@ -415,12 +419,6 @@ jobs:
--manifest-path ${{ matrix.path }}
--features mock
- name: check rustfmt
run: |
rustup override set nightly
rustup component add rustfmt
cargo +nightly fmt --manifest-path ${{ matrix.path }} --all -- --check
issues-matrix:
name: Issues Matrix
needs: init