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

fix: bump golangci-lint version to prevent fmt panic #2335

Merged
merged 2 commits into from
Mar 7, 2023

Conversation

hugorut
Copy link
Contributor

@hugorut hugorut commented Mar 7, 2023

  • bumps version of golangci-lint to 1.51.2 to fix panic
  • resolves lint errors that have been introduced with the upgrade
  • changes terraform arn used for lambda to fix failing tests due to validation regexp introduction with terraform-aws-provider see fix: change arn to pass terraform cli validation #2337

@hugorut hugorut requested a review from a team as a code owner March 7, 2023 11:20
@hugorut hugorut force-pushed the fix/golangci-lint-fix branch 2 times, most recently from d19d9d1 to 71ccc31 Compare March 7, 2023 11:31
Copy link
Member

@tim775 tim775 left a comment

Choose a reason for hiding this comment

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

🥇

@@ -54,7 +54,7 @@ func commentGitHubCmd(ctx *config.RunContext) *cobra.Command {
}

tlsConfig.RootCAs = rootCAs
tlsConfig.InsecureSkipVerify = tlsInsecureSkipVerify
tlsConfig.InsecureSkipVerify = tlsInsecureSkipVerify // nolint: gosec
Copy link
Member

Choose a reason for hiding this comment

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

nice, i didn't think there were pragmas but i guess that's just golint

@hugorut hugorut merged commit 685f7df into master Mar 7, 2023
@hugorut hugorut deleted the fix/golangci-lint-fix branch March 7, 2023 14:22
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.

None yet

2 participants