From d863aa10a1c9632c6cce34d206d234bfd6dd5ff2 Mon Sep 17 00:00:00 2001 From: carrascomj Date: Fri, 14 Apr 2023 15:17:10 +0200 Subject: [PATCH] chore(ci): fix format CI --- .github/workflows/ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08db846..e94a162 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: run: | cd ggshu python -m pytest - + # Run cargo fmt --all -- --check format: name: Format @@ -60,8 +60,14 @@ jobs: - name: Checkout sources uses: actions/checkout@v2 - name: Install stable toolchain - uses: dtolnay/rust-toolchain@stable + uses: actions-rs/toolchain@v1 with: + toolchain: stable + profile: minimal components: rustfmt + override: true - name: Run cargo fmt - run: cargo fmt --all -- --check + uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all -- --check