1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-14 06:30:48 +02:00

Update go.yml

This commit is contained in:
Chris Lu 2020-10-29 23:46:54 -07:00 committed by GitHub
parent 09a7cb8353
commit 0cdf172694
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ./...