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

ci: fix linting issues #269

Merged
merged 1 commit into from
Jun 12, 2023
Merged

ci: fix linting issues #269

merged 1 commit into from
Jun 12, 2023

Conversation

apricote
Copy link
Member

A new version of golangci-lint updated depguard, which in turn started erroring because it was missing a config. Previously depguard did not do anything as we never configured a list of allowed/denied imports.

In general, we already have gomodguard for linting imports.

To avoid sudden breakages of our CI in the future, I pinned the exact version of golangci-lint to the current release. Upgrading this should hppen through a PR process (e.g. by renovate) so we can notice new linting failures and fix them before merging to main.

A new version of golangci-lint updated depguard, which in turn started
erroring because it was missing a config. Previously depguard did not do
anything as we never configured a list of allowed/denied imports.

In general, we already have gomodguard for linting imports.

To avoid sudden breakages of our CI in the future, I pinned the exact
version of golangci-lint to the current release. Upgrading this should
hppen through a PR process (e.g. by renovate) so we can notice new
linting failures and fix them before merging to main.
@apricote apricote self-assigned this Jun 12, 2023
@apricote apricote marked this pull request as ready for review June 12, 2023 12:56
@apricote apricote requested a review from a team as a code owner June 12, 2023 12:56
@apricote apricote merged commit f396b84 into main Jun 12, 2023
@apricote apricote deleted the fix-lint branch June 12, 2023 13:08
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.

1 participant