Skip to content

Commit d96e89b

Browse files
committed
ci: Use taiki-e/github-actions/install-rust action
taiki-e/github-actions@3d23ff7
1 parent 17c1d0d commit d96e89b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,11 @@ jobs:
6161
timeout-minutes: 60
6262
steps:
6363
- uses: taiki-e/checkout-action@v1
64-
- name: Install Rust
65-
run: rustup toolchain add "${{ matrix.rust }}" --no-self-update --component rust-src && rustup default "${{ matrix.rust }}"
66-
- run: rustup toolchain add nightly --no-self-update
67-
- run: rustup target add thumbv6m-none-eabi
64+
- uses: taiki-e/github-actions/install-rust@main
65+
with:
66+
toolchain: ${{ matrix.rust }}
67+
component: rust-src
68+
target: thumbv6m-none-eabi
6869
- uses: taiki-e/install-action@cargo-hack
6970
- uses: taiki-e/install-action@cargo-minimal-versions
7071
- uses: taiki-e/install-action@cargo-careful
@@ -78,6 +79,5 @@ jobs:
7879
- run: cargo hack build --workspace --no-private --feature-powerset --no-dev-deps
7980
- run: cargo build --manifest-path tests/no-std/Cargo.toml --target thumbv6m-none-eabi
8081
- run: cargo minimal-versions build --workspace --no-private --detach-path-deps=skip-exact --all-features
81-
if: matrix.rust != '1.37'
8282
- run: cargo minimal-versions build --workspace --no-private --detach-path-deps=skip-exact --all-features --direct
8383
if: matrix.rust != '1.37'

0 commit comments

Comments
 (0)