-
Notifications
You must be signed in to change notification settings - Fork 100
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
Replace travis with github actions #118
Conversation
0b44fd4
to
9a10f7f
Compare
|
||
// Version is the current release version. | ||
func Version() string { | ||
return "0.0.0" |
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.
should we specifc the version as the tag version , eg 3.2.4
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 will be filled automatically by release.sh script
@@ -0,0 +1,19 @@ | |||
name: golangci-lint |
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 we can add a .golangci.yml
?
linters-settings:
funlen:
lines: 100
statements: 75
gocritic:
disabled-checks:
- exitAfterDefer
linters:
disable:
- errcheck
enable:
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
- exhaustive
- funlen
- gochecknoinits
- goconst
- gocritic
- gocyclo
- gofmt
- goimports
- golint
- goprintffuncname
- gosimple
- govet
- ineffassign
- misspell
- nakedret
- noctx
- nolintlint
- rowserrcheck
- scopelint
- staticcheck
- structcheck
- stylecheck
- typecheck
- unconvert
- unparam
- unused
- varcheck
- 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.
Not sure... It works without a config well enough and I don't want to learn & maintain golangci-lint config :) If you already have a config that you use in other projects - please send a PR.
No description provided.