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 08f0f0a commit 8a8fd85
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ jobs:
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
run: rustup toolchain add "${{ matrix.rust }}" --no-self-update && rustup default "${{ matrix.rust }}"
- run: rustup toolchain add nightly --no-self-update
- uses: taiki-e/github-actions/install-rust@main
with:
toolchain: ${{ matrix.rust }}
- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@cargo-minimal-versions
- uses: taiki-e/install-action@nextest
Expand Down Expand Up @@ -166,8 +166,7 @@ jobs:
timeout-minutes: 60
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
run: rustup update stable --no-self-update
- uses: taiki-e/github-actions/install-rust@stable
- name: Install LLVM
run: |
if type -P clang-"${{ matrix.llvm }}" &>/dev/null; then
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ jobs:
contents: write
steps:
- uses: taiki-e/checkout-action@v1
- name: Install Rust
run: rustup update stable --no-self-update
- uses: taiki-e/github-actions/install-rust@stable
- uses: taiki-e/setup-cross-toolchain-action@v1
with:
target: ${{ matrix.target }}
Expand Down

0 comments on commit 8a8fd85

Please sign in to comment.