diff --git a/.github/workflows/deploy-contract.yml b/.github/workflows/deploy-contract.yml index e8d72ce350..f1085d9042 100644 --- a/.github/workflows/deploy-contract.yml +++ b/.github/workflows/deploy-contract.yml @@ -38,8 +38,6 @@ jobs: go.sum - name: Test contract run: | - export GOPATH=~/go - export PATH=$PATH:$GOPATH/bin sudo make contract-tools sudo make test-solidity if: env.GIT_DIFF diff --git a/scripts/run-solidity-tests.sh b/scripts/run-solidity-tests.sh index ded54b8c77..12c746a9e8 100755 --- a/scripts/run-solidity-tests.sh +++ b/scripts/run-solidity-tests.sh @@ -1,4 +1,7 @@ #!/bin/bash +export GOROOT=/opt/hostedtoolcache/go/1.21.4/x64 +export GOPATH=~/go +export PATH=$PATH:$GOPATH/bin # remove existing daemon rm -rf ~/.ethermintd