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

Update golint configuration #3502

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

stbenjam
Copy link
Member

@stbenjam stbenjam commented Jun 21, 2023

  • Use a container for running golangci-lint outside of CI, this fixes problems where a developer is running a different version of go or golangci-lint than CI (e.g. avoids problems like Excessive memory usage golangci/golangci-lint#3565)

  • Use errorlint built in linter instead of the direct vendored version

- Use a container for running golangci-lint outside of CI, this fixes
  problems where a developer is running a different version of go
  or golangci-lint than CI.

- Use errorlint built in linter instead of the direct vendored version
@openshift-ci openshift-ci bot requested review from bear-redhat and psalajova June 21, 2023 14:50
@dgoodwin
Copy link
Contributor

Using the wrong version of golangci-lint crashed my machine using all 64 GB of RAM.

/lgtm

@dgoodwin
Copy link
Contributor

also thanks @stbenjam !

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 21, 2023
@smg247
Copy link
Member

smg247 commented Jun 30, 2023

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 30, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dgoodwin, smg247, stbenjam

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 30, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 30, 2023

@stbenjam: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit 9305aa4 into openshift:master Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants