Replace cargo-fmt with dprint

If we want to use stable Rust, we can't use cargo-fmt with nightly
features.
This commit is contained in:
Thomas Eizinger 2021-05-25 14:40:31 +10:00
parent b8cb9e1b8b
commit 694ade11d1
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
4 changed files with 16 additions and 19 deletions

View file

@ -17,9 +17,6 @@ jobs:
- uses: Swatinem/rust-cache@v1.2.0
- name: Check code formatting
run: cargo fmt --all -- --check
- name: Check formatting
uses: dprint/check@v1.4