-
Notifications
You must be signed in to change notification settings - Fork 439
Refactor CI workflow #500
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
Refactor CI workflow #500
Conversation
…nt-action Signed-off-by: Eric Zhao <sczyh16@gmail.com>
Codecov ReportBase: 53.17% // Head: 53.17% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #500 +/- ##
=======================================
Coverage 53.17% 53.17%
=======================================
Files 91 91
Lines 5896 5896
=======================================
Hits 3135 3135
Misses 2414 2414
Partials 347 347 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
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.
details can refers to https://staticcheck.io/docs/checks/
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ | ||
skip-dirs-use-default: true | ||
skip-dirs: | ||
- example |
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.
recommends to add -test
skip-dirs: | ||
- example | ||
skip-files: | ||
- ".*\\.pb\\.go$" |
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.
recommends to add - _test.go
@@ -0,0 +1,29 @@ | |||
# Options for analysis running. | |||
run: | |||
# vendor$, third_party$, testdata$, examples$, Godeps$, builtin$ |
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.
Signed-off-by: Eric Zhao <sczyh16@gmail.com>
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.
fix lint check , delete core/hotspot/rule.go#104
@jnan806 @binbin0325 I'll merge this PR first (using rebase), then fix the lint error and improve linter config. |
Signed-off-by: Eric Zhao sczyh16@gmail.com
Describe what this PR does / why we need it
Refactor CI workflow and split CI into two parts with golangci-lint-action.
Update go version to 1.16 in
go.mod
.Does this pull request fix one issue?
Resloves #499
Describe how to verify it
The CI should pass.
Special notes for reviews
NONE