Skip to content

Commit

Permalink
test: fix test-solidity replace goroot too
Browse files Browse the repository at this point in the history
  • Loading branch information
dudong2 committed Nov 30, 2023
1 parent 0016b23 commit bdf18f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions scripts/run-solidity-tests.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit bdf18f1

Please sign in to comment.