From 1c0f97a37754911a97e009e8da97759de7ba0ec5 Mon Sep 17 00:00:00 2001 From: Rami Lukata <32602478+rlukata@users.noreply.github.com> Date: Mon, 24 Feb 2025 15:38:33 -0600 Subject: [PATCH] use rzup --- .github/actions/risczero/action.yml | 17 ++++++++++------- .github/workflows/ci.yml | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/actions/risczero/action.yml b/.github/actions/risczero/action.yml index c49c2fd3..50bf139b 100644 --- a/.github/actions/risczero/action.yml +++ b/.github/actions/risczero/action.yml @@ -15,17 +15,20 @@ inputs: runs: using: composite steps: - - uses: risc0/cargo-install@v3 - with: - crate: cargo-binstall - version: '=1.6' - locked: true + - name: install rust + uses: risc0/risc0/.github/actions/rustup@release-${{ inputs.version }} - - run: cargo binstall -y --force cargo-risczero@${{ inputs.version }} + - name: Install rzup + env: + ENV_PATH: test shell: bash + run: | + curl -L https://risczero.com/install | bash + echo "$HOME/.risc0/bin" >> $GITHUB_PATH - - run: cargo risczero install ${{ inputs.toolchain-version != '' && format('--version {0}', inputs.toolchain-version) || '' }} + - name: rzup install rust shell: bash + run: rzup install rust ${{ inputs.toolchain-version }} - name: test risczero shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3468c379..515c03c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ permissions: env: CARGO_TERM_COLOR: always GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RISC0_VERSION: "1.3.0-rc.1" + RISC0_VERSION: "1.3" RISC0_TOOLCHAIN_VERSION: "r0.1.83.0" jobs: