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

add github action workflow files and linter settings #11

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

gulumseraslann
Copy link
Contributor

No description provided.

Copy link
Member

@gunerhuseyin gunerhuseyin left a 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
Copy link
Member

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

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

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:
Copy link
Member

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

@erayarslan erayarslan merged commit cab4124 into master Dec 15, 2022
@erayarslan erayarslan deleted the workflow-action branch December 15, 2022 09:43
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.

3 participants