Commit eb9269e5 authored by madengji's avatar madengji Committed by 33cn

fix

parent 9e7e5c4c
......@@ -19,6 +19,8 @@ jobs:
# TODO: this will hopefully be fixed by
# https://github.com/actions/setup-go/issues/14
export PATH=${PATH}:`go env GOPATH`/bin
echo $GOPATH
echo $PATH
go get -u golang.org/x/tools/cmd/goimports
go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.18.0
go get -u mvdan.cc/sh/cmd/shfmt
......@@ -146,7 +148,11 @@ jobs:
go-version: 1.13
id: go
- name: set go env
run: export PATH=${PATH}:`go env GOPATH`/bin
run: |
export GOPATH=$HOME/go
export PATH=${PATH}:`go env GOPATH`/bin
echo $GOPATH
echo $PATH
- name: checkout
uses: actions/checkout@v2
- name: deploy
......
......@@ -534,6 +534,8 @@ function AllRelayerMainTest() {
Chain33Cli="$GOPATH/src/github.com/33cn/plugin/build/chain33-cli --rpc_laddr http://${docker_chain33_ip}:8801"
echo "GOPATH=$GOPATH"
echo "Chain33Cli=$Chain33Cli"
godir="$(go list -f "{{.Dir}}")"
echo "godir=$godir"
echo -e "${GRE}=========== $FUNCNAME begin ===========${NOC}"
if [[ ${1} != "" ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment