Skip to content

Commit

Permalink
ci: Use taiki-e/github-actions/install-rust action
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 27, 2024
1 parent 17c1d0d commit d96e89b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ jobs:
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
run: rustup toolchain add "${{ matrix.rust }}" --no-self-update --component rust-src && rustup default "${{ matrix.rust }}"
- run: rustup toolchain add nightly --no-self-update
- run: rustup target add thumbv6m-none-eabi
- uses: taiki-e/github-actions/install-rust@main
with:
toolchain: ${{ matrix.rust }}
component: rust-src
target: thumbv6m-none-eabi
- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@cargo-minimal-versions
- uses: taiki-e/install-action@cargo-careful
Expand All @@ -78,6 +79,5 @@ jobs:
- run: cargo hack build --workspace --no-private --feature-powerset --no-dev-deps
- run: cargo build --manifest-path tests/no-std/Cargo.toml --target thumbv6m-none-eabi
- run: cargo minimal-versions build --workspace --no-private --detach-path-deps=skip-exact --all-features
if: matrix.rust != '1.37'
- run: cargo minimal-versions build --workspace --no-private --detach-path-deps=skip-exact --all-features --direct
if: matrix.rust != '1.37'

0 comments on commit d96e89b

Please sign in to comment.