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