CI: Refactor rustfmt CI job
This commit is contained in:
@@ -143,9 +143,10 @@ jobs:
|
|||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: 1.51.0
|
toolchain: 1.51.0
|
||||||
|
components: rustfmt
|
||||||
override: true
|
override: true
|
||||||
- run: rustup component add rustfmt
|
- name: Check formatting
|
||||||
- uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: fmt
|
command: fmt
|
||||||
args: -- --check
|
args: -- --check
|
||||||
|
|||||||
Reference in New Issue
Block a user