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 toolchain: stable
override: true override: true
- name: check rustfmt
run: |
cargo fmt --manifest-path ${{ matrix.path }} --all -- --check
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: build command: build
@ -415,12 +419,6 @@ jobs:
--manifest-path ${{ matrix.path }} --manifest-path ${{ matrix.path }}
--features mock --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: issues-matrix:
name: Issues Matrix name: Issues Matrix
needs: init needs: init