Skip to content

Commit

Permalink
use rzup
Browse files Browse the repository at this point in the history
  • Loading branch information
rlukata committed Feb 24, 2025
1 parent e4ca042 commit 1c0f97a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions .github/actions/risczero/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1c0f97a

Please sign in to comment.