Skip to content

Commit

Permalink
Use cargo-binstall to install cargo-all-features faster
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Dec 26, 2024
1 parent 21a3db5 commit a2b4ffa
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: check
run: cargo check --all-features --verbose
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@v1.10.17
- name: Install cargo-all-features
run: cargo binstall cargo-all-features
- name: Check
run: cargo check-all-features

clippy:
runs-on: ubuntu-latest
Expand All @@ -40,19 +44,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install cargo-binstall
uses: cargo-bins/cargo-binstall@v1.10.17
- name: Install cargo-all-features
run: cargo binstall cargo-all-features
- name: test
run: cargo test --all-features --verbose

cargo-all-features:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: install
run: cargo install cargo-all-features
- name: check all features
run: cargo check-all-features
- name: test all features
run: cargo test-all-features

doc:
Expand Down

0 comments on commit a2b4ffa

Please sign in to comment.