Browse Source

Update go.yml

pull/1584/head
Chris Lu 4 years ago
committed by GitHub
parent
commit
0cdf172694
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      .github/workflows/go.yml

7
.github/workflows/go.yml

@ -17,20 +17,21 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: ^1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
cd weed; go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Build
run: go build -v .
run: cd weed; go build -v .
- name: Test
run: go test -v .
run: cd weed; go test -v ./...
Loading…
Cancel
Save