diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 943a7d2743..45aa93b077 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -119,6 +119,15 @@ jobs: with: key: ${{ matrix.target }} cache-on-failure: true + + - name: Install go + uses: actions/setup-go@v5 + with: + go-version: '^1.22.1' + + - name: Check go installation + run: | + go version - name: Set up git private repo access run: | diff --git a/sp1up/sp1up b/sp1up/sp1up index a5a26a95f2..d3f7f62d20 100644 --- a/sp1up/sp1up +++ b/sp1up/sp1up @@ -80,12 +80,12 @@ main() { # Install by downloading binaries if [[ "$SP1UP_REPO" == "succinctlabs/sp1" && -z "$SP1UP_BRANCH" && -z "$SP1UP_COMMIT" ]]; then - SP1UP_VERSION=${SP1UP_VERSION:-nightly} + SP1UP_VERSION=${SP1UP_VERSION:-main} SP1UP_TAG=$SP1UP_VERSION - # Normalize versions (handle channels, versions without v prefix - if [[ "$SP1UP_VERSION" =~ ^nightly ]]; then - SP1UP_VERSION="nightly" + # Normalize versions (handle channels, versions without v prefix) + if [[ "$SP1UP_VERSION" == "main" ]]; then + SP1UP_VERSION="main" elif [[ "$SP1UP_VERSION" == [[:digit:]]* ]]; then # Add v prefix SP1UP_VERSION="v${SP1UP_VERSION}"