diff --git a/.github/workflows/wasm-examples.yml b/.github/workflows/wasm-examples.yml index 8d3ee5b..5c530dc 100644 --- a/.github/workflows/wasm-examples.yml +++ b/.github/workflows/wasm-examples.yml @@ -28,12 +28,14 @@ jobs: uses: actions/checkout@v4 - name: Install dependencies run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev - - name: Install Rust Nightly - run: rustup toolchain install nightly - - name: Install rust-src - run: rustup component add --toolchain nightly rust-src - - name: Install wasm32 rust target - run: rustup target install --toolchain nightly wasm32-unknown-unknown + - name: Install latest nightly + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + default: nightly + components: rustfmt, clippy rust-src + target: wasm32-unknown-unknown - name: make wasm-examples run: make wasm-examples - name: Setup Pages