diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7a911709..33553652a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: - name: Get the Sui testnet binary and start a local network shell: bash env: - SUI_BINARY_VERSION: "1.39.1" # used for downloading a specific Sui binary versions that matches the GraphQL schema for local network tests + SUI_BINARY_VERSION: "1.39.3" # used for downloading a specific Sui binary versions that matches the GraphQL schema for local network tests SUI_NETWORK_RELEASE: "testnet" # which release to use run: | ASSET_NAME="sui-$SUI_NETWORK_RELEASE-v$SUI_BINARY_VERSION-ubuntu-x86_64.tgz" @@ -111,22 +111,6 @@ jobs: echo "$(pwd)" >> $GITHUB_PATH # we need it on the path for calling sui move build for some tests ./sui start --force-regenesis --with-faucet --with-indexer --with-graphql --pg-port 5432 --pg-db-name sui_indexer_v2 --epoch-duration-ms $EPOCH_DURATION_MS & - - name: Set up the CLI environment (need a client.yaml for calling some Sui commands) - shell: bash - run: | - mkdir -p $HOME/.sui/sui_config - tee $HOME/.sui/sui_config/client.yaml < ../../$@ + cd crates/sui-transaction-builder/tests/$(*F) && sui move build --ignore-chain --dump-bytecode-as-base64 > ../../$@ .PHONY: test-with-localnet test-with-localnet: package_test_example_v1.json package_test_example_v2.json