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