From 078995be3a5e3b999328589da3d7afcba75c98e1 Mon Sep 17 00:00:00 2001 From: polsevev Date: Sun, 26 Feb 2023 02:45:12 +0100 Subject: [PATCH] fixed rust install step --- .github/workflows/main.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2883e58..aa6c2d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,9 +8,13 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - name: Install Rust - run: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -y + - uses: actions/checkout@v2 + - name: Install latest nightly + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + components: rustfmt, clippy - name: Add wasm with rustup run: | rustup target add wasm32-unknown-unknown