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 staticcheck at CI #655

Closed
wants to merge 4 commits into from
Closed

Add staticcheck at CI #655

wants to merge 4 commits into from

Conversation

smiletrl
Copy link
Contributor

What this PR does:

Add staticcheck for Go code

A quick overview of current staticcheck result , result in great potential improvement room for this repository :)

Screenshot 2024-01-28 at 16 01 15

Once we approve adding staticcheck for this repository, I can add fixes for staticcheck in this PR.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@github-actions github-actions bot added the ci/cd label Jan 28, 2024
@smiletrl smiletrl changed the title Feature/staticcheck Add staticcheck at CI Jan 28, 2024
@@ -61,6 +61,9 @@ jobs:
- name: "run go build"
run: go build -v ./...

- name: "Staticcheck"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use https://github.com/marketplace/actions/run-golangci-lint better?

golangci-lint is a fast Go linters aggregator that runs multiple linters and integrates the functionality of the previous Go Meta Linter. I understand it is currently the recommended tool.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smiletrl smiletrl closed this by deleting the head repository May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants