Skip to content
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

Merged
merged 2 commits into from
Sep 4, 2021
Merged

Replace travis with github actions #118

merged 2 commits into from
Sep 4, 2021

Conversation

vmihailenco
Copy link
Owner

No description provided.


// Version is the current release version.
func Version() string {
return "0.0.0"
Copy link
Collaborator

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

Copy link
Owner Author

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
Copy link
Collaborator

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

Copy link
Owner Author

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.

@vmihailenco vmihailenco merged commit a3e5acf into v3 Sep 4, 2021
@vmihailenco vmihailenco deleted the chore/github-actions branch September 4, 2021 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants