diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f4bf53b..a5fe8c4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -31,6 +31,8 @@ jobs: - name: Get dependencies run: | go get -v -t -d ./... + go get -u github.com/golang/protobuf/protoc-gen-go + go install golang.org/x/lint/golint if [ -f Gopkg.toml ]; then curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh dep ensure @@ -38,16 +40,15 @@ jobs: - name: Generate Proto run: | - go get -u github.com/golang/protobuf/protoc-gen-go - bash ./script/generate_proto.sh + bash ./scripts/generate_proto.sh - name: Lint run: | - golint ./... + golint -set_exit_status ./... - name: Build run: | - go build -v . + go build -v ./... - name: Test run: go test -v . diff --git a/k8s-pod-scheduler.go b/k8s-pod-scheduler.go deleted file mode 100644 index b09a49a..0000000 --- a/k8s-pod-scheduler.go +++ /dev/null @@ -1 +0,0 @@ -package k8s_pod_scheduler