Skip to content

Commit

Permalink
Use taiki-e/install-action to install dev tools in CI (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard authored Dec 30, 2024
1 parent 215b95c commit 61779f0
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,21 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install
run: cargo install cargo-all-features
- name: Check
- uses: taiki-e/install-action@v2
with:
tool: cargo-all-features
- name: Check all feature combinations
run: cargo check-all-features

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install
run: cargo install cargo-all-features
- name: Test
- uses: taiki-e/install-action@v2
with:
tool: cargo-all-features
- name: Test all feature combinations
run: cargo test-all-features

build:
Expand All @@ -51,7 +53,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install
run: cargo install cargo-msrv
- name: Verify
run: cargo msrv verify
- uses: taiki-e/install-action@v2
with:
tool: cargo-msrv
- name: Verify MSRV
run: cargo msrv verify

0 comments on commit 61779f0

Please sign in to comment.