update github action workflows

This commit is contained in:
xgfone
2021-09-05 21:18:23 +08:00
parent 4ff417fc95
commit c717b4efcf

View File

@ -27,6 +27,7 @@ jobs:
- run: |
version=`go version | awk '{print $3}' | awk -F. '{print $2}'`
if [ $version -lt 11 ]; then
export GOPATH=/home/runner/work/bt/bt
mkdir -p $GOPATH/src/github.com/xgfone
cp -r . $GOPATH/src/github.com/xgfone
fi
go test -race ./...