diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 75aca34..f466622 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -45,6 +45,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} check-latest: true + - uses: dtolnay/rust-toolchain@stable - name: Setup rust target run: rustup target add ${{ matrix.target }} - name: Install dependencies @@ -72,6 +73,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} check-latest: true + - uses: dtolnay/rust-toolchain@stable - name: Setup rust target run: rustup target add aarch64-apple-darwin - name: Install dependencies @@ -129,6 +131,7 @@ jobs: with: node-version: ${{ env.NODE_VERSION }} check-latest: true + - uses: dtolnay/rust-toolchain@stable - uses: goto-bus-stop/setup-zig@v2 if: ${{ matrix.target == 'armv7-unknown-linux-gnueabihf' }} with: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 55fb91a..8aa054d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,6 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable - name: rustfmt run: cargo fmt --all -- --check - name: Run Clippy diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 84e752e..f71a88f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,7 @@ jobs: RUSTFLAGS: -D warnings steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - run: cargo test --all-features test-js: @@ -45,6 +46,7 @@ jobs: check-latest: true - name: Install dependencies uses: ./.github/actions/yarn-install + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: Build run: yarn build