Skip to content

Commit

Permalink
Use actions-rust-lang/setup-rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Oct 25, 2024
1 parent b164a2c commit 7782bdb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
uses: actions/checkout@v4

- name: Install stable Rust
uses: dtolnay/rust-toolchain@stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
targets: wasm32-unknown-unknown
toolchain: stable
target: wasm32-unknown-unknown

- name: Install Node 23
uses: actions/setup-node@v4
Expand Down Expand Up @@ -44,9 +45,10 @@ jobs:
uses: actions/checkout@v4

- name: Install stable Rust
uses: dtolnay/rust-toolchain@stable
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
targets: wasm32-unknown-unknown
toolchain: stable
target: wasm32-unknown-unknown
components: rustfmt, clippy

- name: Run cargo fmt
Expand Down

0 comments on commit 7782bdb

Please sign in to comment.