From 2cab4f6e609cb0f0d223da1edefaaf2588c60bf9 Mon Sep 17 00:00:00 2001 From: Tobias Richter Date: Mon, 19 Aug 2024 15:13:23 +0200 Subject: [PATCH] Try to fix CI --- .github/workflows/ci.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0c48ad..2e270c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,15 +20,11 @@ jobs: with: components: clippy - - name: cargo clippy - uses: actions-rs/cargo@v1 - with: - command: clippy --no-deps + - name: Run clippy + run: cargo clippy --no-deps - name: cargo test - uses: actions-rs/cargo@v1 - with: - command: test + run: cargo test lint: runs-on: ubuntu-latest @@ -40,10 +36,9 @@ jobs: with: components: rustfmt - - name: rustfmt - uses: actions-rs/cargo@v1 + - uses: mbrobbel/rustfmt-check@master with: - command: rustfmt --edition 2018 --check src/main.rs + token: ${{ secrets.GITHUB_TOKEN }} build: