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 93fd894 commit b2b0bcb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,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 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 @@ -88,7 +90,6 @@ jobs:
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
run: rustup toolchain add nightly --no-self-update && rustup default nightly
- uses: taiki-e/github-actions/install-rust@nightly
- run: tools/gen.sh
- run: git add -N . && git diff --exit-code

0 comments on commit b2b0bcb

Please sign in to comment.