Skip to content
Snippets Groups Projects
Commit 3c8a3ace authored by AlexStocks's avatar AlexStocks
Browse files

Add: golint in github action

parent d2c8e5b2
No related branches found
No related tags found
No related merge requests found
......@@ -54,10 +54,17 @@ jobs:
go get -v -t -d ./...
fi
- name: Install go ci lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0
- name: Run Linter
run: golangci-lint run --timeout=10m -v --disable-all --enable=govet --enable=staticcheck --enable=ineffassign --enable=misspell
- name: Verify
run: |
make verify
- name: Integrate Test
run: |
chmod +x integrate_test.sh && ./integrate_test.sh
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment