From 8b20acd8b925bdc829f43097a85a5b322f793bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Tue, 12 Nov 2024 13:59:02 +0100 Subject: [PATCH] Remove redundant step names --- .github/workflows/rust.yml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 960636550..19d7e5506 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -73,26 +73,15 @@ jobs: name: test wasm32-unknown-unknown runs-on: ubuntu-latest steps: - - name: Checkout sources - uses: actions/checkout@v4 - - - name: Install stable toolchain - uses: dtolnay/rust-toolchain@stable - - - name: Add wasm target - run: rustup target add wasm32-unknown-unknown - - - name: Install nodejs v20 - uses: actions/setup-node@v4 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - run: rustup target add wasm32-unknown-unknown + - uses: actions/setup-node@v4 with: node-version: 20 + - uses: bytecodealliance/actions/wasm-tools/setup@v1 + - uses: cargo-bins/cargo-binstall@main - - name: Setup `wasm-tools` - uses: bytecodealliance/actions/wasm-tools/setup@v1 - - - name: Install cargo binstall - uses: cargo-bins/cargo-binstall@main - # We need to downgrade cc to version 1.1.31 for ring Wasm compilation to work. # See the upstream issue https://github.com/rust-lang/cc-rs/issues/1275 - name: Downgrade `cc` to version 1.1.31