Browse Source

update go build

pull/2949/head
chrislu 3 years ago
parent
commit
2988e69b1e
  1. 8
      .github/workflows/go.yml

8
.github/workflows/go.yml

@ -32,13 +32,9 @@ jobs:
- name: Get dependencies - name: Get dependencies
run: | run: |
cd weed; 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 - name: Build
run: cd weed; go build -v .
run: cd weed; go build -tags "elastic gocdk sqlite hdfs" -v .
- name: Test - name: Test
run: cd weed; go test -v ./...
run: cd weed; go test -tags "elastic gocdk sqlite hdfs" -v ./...
Loading…
Cancel
Save