diff --git a/.github/workflows/lint-fmt.yml b/.github/workflows/lint-fmt.yml index 8c98cd42..defae964 100644 --- a/.github/workflows/lint-fmt.yml +++ b/.github/workflows/lint-fmt.yml @@ -29,10 +29,7 @@ jobs: cargo-${{ runner.os }}- - name: Run cargo fmt - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check + run: cargo fmt --all -- --check clippy: name: Clippy @@ -58,10 +55,7 @@ jobs: cargo-${{ runner.os }}- - name: Run clippy - uses: actions-rs/cargo@v1 - with: - command: clippy - args: --all-targets --all-features + run: cargo clippy --all-targets --all-features - name: Run clippy for gloo-net working-directory: crates/net diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f7fddcc1..d29e6e95 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,10 +29,7 @@ jobs: cargo-${{ runner.os }}- - name: Run tests - uses: actions-rs/cargo@v1 - with: - command: test - args: --workspace --exclude gloo-net + run: cargo test --workspace --exclude gloo-net browser_tests: name: Browser Tests @@ -215,7 +212,4 @@ jobs: HTTPBIN_URL: "http://localhost:8080" WS_ECHO_SERVER_URL: "ws://localhost:8081" SSE_ECHO_SERVER_URL: "http://localhost:8081/.sse" - uses: actions-rs/cargo@v1 - with: - command: test - args: -p gloo-net --all-features + run: cargo test -p gloo-net --all-features