-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add github action workflow files and linter settings #11
Conversation
6a29dce
to
c6d35c1
Compare
c6d35c1
to
cf1ff79
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. I added some comments to ci
steps.
Also, Can you resolve the golang-ci
comments?
@@ -0,0 +1,7 @@ | |||
package godcpclient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This project will be used as a package, so we don't need to main.go
version: v1.50 | ||
args: -c .golangci.yml -v | ||
|
||
- name: Build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need it
- unconvert | ||
- unparam | ||
- unused | ||
- whitespace |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should add these:
- staticcheck
- typecheck
- varcheck
- structcheck
- vet
- vetshadow
|
||
jobs: | ||
|
||
build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe you can rename it to ci
, and also rename this file
No description provided.