diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 646e625..4cce91b 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -23,7 +23,5 @@ jobs: with: components: rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --manifest-path=Cargo.toml --all -- --check + - name: Run formatter + run: cargo fmt --manifest-path=Cargo.toml --all -- --check diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5ea52e3..4752cb1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,8 +31,5 @@ jobs: with: components: clippy - - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings - name: clippy + - name: Run clippy + run: cargo clippy --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 15480b5..fb04fcf 100755 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,7 +37,4 @@ jobs: uses: Swatinem/rust-cache@v2 - name: Run tests - uses: actions-rs/cargo@v1 - with: - command: test - args: --manifest-path=Cargo.toml --release + run: cargo test --manifest-path=Cargo.toml --release