CI: Add 'cargo fmt -- --check' to ci.yml

The step is placed right after Rust installation to fail faster.
This commit is contained in:
Andrew Hlynskyi 2021-04-30 22:22:36 +03:00
parent 3c0152a331
commit 96ad90a646

View file

@ -52,6 +52,9 @@ jobs:
toolchain: stable
profile: minimal
- name: Check Rust code formatting
run: cargo fmt -- --check
- name: Install emscripten
uses: mymindstorm/setup-emsdk@v7
with: