Skip to content

Commit

Permalink
install golint (#2)
Browse files Browse the repository at this point in the history
* install golint

* add logging

* disable linting for now

* remove unused file with the package name
  • Loading branch information
ahmagdy authored Jun 17, 2020
1 parent 70b6dc4 commit ea5a608
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,24 @@ 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
fi
- 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 .
1 change: 0 additions & 1 deletion k8s-pod-scheduler.go

This file was deleted.

0 comments on commit ea5a608

Please sign in to comment.