From 96ad90a646c5d284a67dd897375727b515f58430 Mon Sep 17 00:00:00 2001 From: Andrew Hlynskyi Date: Fri, 30 Apr 2021 22:22:36 +0300 Subject: [PATCH] CI: Add 'cargo fmt -- --check' to ci.yml The step is placed right after Rust installation to fail faster. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65e051d4..a4b3d145 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: