Skip to content

Commit

Permalink
Use actions-rust-lang/setup-rust-toolchain instead of actions-rs/tool…
Browse files Browse the repository at this point in the history
…chain
  • Loading branch information
hustcer committed Mar 10, 2024
1 parent 3f85141 commit 9608367
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@ jobs:
icacls C:\Windows\System32\bash.exe /grant administrators:F
del C:\Windows\System32\bash.exe
- name: Install Rust Toolchain Components
uses: actions-rs/toolchain@v1.0.6
- name: Setup Rust toolchain and cache
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
with:
override: true
toolchain: stable
components: clippy, rustfmt

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,9 @@ jobs:
steps:
- uses: actions/checkout@v4.1.1

- name: Install Rust Toolchain Components
uses: actions-rs/toolchain@v1.0.6
- name: Setup Rust toolchain and cache
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
with:
override: true
toolchain: stable
target: ${{ matrix.target }}

Expand Down

0 comments on commit 9608367

Please sign in to comment.