modify github workflow
This commit is contained in:
parent
9b8e7ff1ba
commit
a8da3cb412
1
.github/workflows/go.yml
vendored
1
.github/workflows/go.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user