modify github workflow

This commit is contained in:
jiacai_wang 2021-04-25 14:53:00 +08:00
parent 9b8e7ff1ba
commit a8da3cb412

View File

@ -24,6 +24,7 @@ jobs:
- name: Get dependencies - name: Get dependencies
run: | run: |
go mod init && go mod tidy
go get -v -t -d ./... go get -v -t -d ./...
if [ -f Gopkg.toml ]; then if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh