Skip to content

Commit

Permalink
Revert "ci: Replace actions-rs/toolchain with dtolnay/rust-toolchain"
Browse files Browse the repository at this point in the history
This reverts commit 136c05f.
  • Loading branch information
adrian17 authored and kmeisthax committed Dec 2, 2022
1 parent a040c32 commit 1a69934
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,11 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
targets: ${{ matrix.target }}
target: ${{ matrix.target }}

- name: Install Linux dependencies
if: runner.os == 'Linux'
Expand Down Expand Up @@ -299,10 +300,11 @@ jobs:
uses: actions/checkout@v3

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
targets: wasm32-unknown-unknown
target: wasm32-unknown-unknown

- name: Setup Node.js
uses: actions/setup-node@v3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test_rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ jobs:
- uses: actions/checkout@v3

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust_version }}
override: true
components: rustfmt, clippy

- name: Install Linux dependencies
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ jobs:
cache-dependency-path: web/package-lock.json

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust_version }}
targets: wasm32-unknown-unknown
target: wasm32-unknown-unknown

- name: Cache Cargo output
uses: Swatinem/rust-cache@90429b3dea365e9a1b0cb82d7f98aabf3089dc63
Expand Down

0 comments on commit 1a69934

Please sign in to comment.