diff --git a/.github/actions/setup-surfpool/action.yaml b/.github/actions/setup-surfpool/action.yaml index 1ebf6879af..a6a68ec3fb 100644 --- a/.github/actions/setup-surfpool/action.yaml +++ b/.github/actions/setup-surfpool/action.yaml @@ -22,8 +22,9 @@ runs: retry_on: error shell: bash command: | + set -euxo pipefail echo "Installing Surfpool version ${{ env.SURFPOOL_CLI_VERSION }}" - curl -sL https://run.surfpool.run/ | bash + curl -sL https://run.surfpool.run/ | VERSION=v${{ env.SURFPOOL_CLI_VERSION }} bash echo "$HOME/.local/bin" >> $GITHUB_PATH echo "$PATH" ls -al $HOME/.local/bin diff --git a/.github/workflows/no-caching-tests.yaml b/.github/workflows/no-caching-tests.yaml index 6bd5537b8b..5112c8463c 100644 --- a/.github/workflows/no-caching-tests.yaml +++ b/.github/workflows/no-caching-tests.yaml @@ -17,7 +17,4 @@ jobs: node_version: 20.18.0 cargo_profile: release anchor_binary_name: anchor-binary-no-caching - # TODO: currently this value is only used to invalidate the cache and install latest, it is not - # actually installing the specified version. - # Issue: https://github.com/solana-foundation/anchor/issues/4160 - surfpool_cli_version: 1.0.0-rc1 + surfpool_cli_version: 1.0.0 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 554a5f39a2..098872c0a5 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -22,7 +22,4 @@ jobs: node_version: 20.18.0 cargo_profile: debug anchor_binary_name: anchor-binary - # TODO: currently this value is only used to invalidate the cache and install latest, it is not - # actually installing the specified version. - # Issue: https://github.com/solana-foundation/anchor/issues/4160 - surfpool_cli_version: 1.0.0-rc1 + surfpool_cli_version: 1.0.0