ci: Use dtonlnay runner for WASM

Use the newer github action cargo runner from dtolnay.

Note, with this applied we only run the WASM tests using the stable
toolchain.
This commit is contained in:
Tobin C. Harding 2023-04-18 15:49:09 +10:00
parent 493eaf723f
commit d41bcc81d3
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 9 deletions

View File

@ -58,21 +58,13 @@ jobs:
WASM:
name: WASM
runs-on: ubuntu-latest
strategy:
matrix:
rust: [stable, beta, nightly] # wasm-pack doesn't support rust 1.41.1
steps:
- name: Checkout Crate
uses: actions/checkout@v2
- name: Install clang
run: sudo apt-get install -y clang
- name: Checkout Toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rust-src
uses: dtolnay/rust-toolchain@stable
- name: Running WASM tests
env:
DO_WASM: true