🚧 add rustfmt to CI/CD

This commit is contained in:
Vladislav Nepogodin 2022-06-27 23:11:15 +04:00
parent a9d4e9da48
commit 4a63064100
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9
1 changed files with 16 additions and 0 deletions

View File

@ -46,3 +46,19 @@ jobs:
-f .github/archlinux/Dockerfile \
--load \
.
fmt:
name: rust fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check