Skip to content

Add static checks (formatting, linting) to CI - #21

Merged
xvillaneau merged 3 commits into
mainfrom
xvillaneau/add_golang_lint_ci
Mar 18, 2022
Merged

xvillaneau merged 3 commits into
mainfrom
xvillaneau/add_golang_lint_ci

Conversation

@xvillaneau

Copy link
Copy Markdown
Contributor

No description provided.

Mostly unused functions/structures, and some simplification.

@baergj baergj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! According to https://golangci-lint.run/usage/linters, gofmt is disabled by default - does one of the other checks cover this?

@xvillaneau
xvillaneau force-pushed the xvillaneau/add_golang_lint_ci branch from dde5ead to 3bced27 Compare March 18, 2022 14:07
@xvillaneau
xvillaneau force-pushed the xvillaneau/add_golang_lint_ci branch from 3bced27 to 6ea19be Compare March 18, 2022 14:10
@xvillaneau

Copy link
Copy Markdown
Contributor Author

Thanks! According to https://golangci-lint.run/usage/linters, gofmt is disabled by default - does one of the other checks cover this?

Good call, I checked and indeed the kind of errors that would trigger gofmt were not caught. Fixed now.

@baergj baergj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@xvillaneau
xvillaneau merged commit a5da102 into main Mar 18, 2022
@xvillaneau
xvillaneau deleted the xvillaneau/add_golang_lint_ci branch March 22, 2022 17:21
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