From d41bcc81d3e7550188d86e30a7f0f666f4d2556b Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 18 Apr 2023 15:49:09 +1000 Subject: [PATCH] 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. --- .github/workflows/rust.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 459f63c..51fd7d4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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