Skip to content

Commit

Permalink
Remove usage of actions-rs/cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Oct 30, 2023
1 parent a27ef58 commit 8d18a91
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- uses: actions-rs/cargo@v1
with:
command: build
args: --all-features --all-targets
- run: cargo test --all-features --all-targets

msrv:
runs-on: ubuntu-latest
Expand All @@ -38,10 +35,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.63.0
- uses: actions-rs/cargo@v1
with:
command: check
args: --lib --all-features
- run: cargo check --lib --all-features

lint:
runs-on: ubuntu-latest
Expand All @@ -50,15 +44,8 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
if: always()
with:
command: clippy
args: --workspace --all-targets --all-features -- -D warnings
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets --all-features -- -D warnings

audit:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8d18a91

Please sign in to comment.