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

chore(deps): update docker.io/golangci/golangci-lint docker tag to v1.60.3 (main) #2813

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

cilium-renovate[bot]
Copy link
Contributor

@cilium-renovate cilium-renovate bot commented Aug 16, 2024

This PR contains the following updates:

Package Update Change
docker.io/golangci/golangci-lint minor v1.59.1 -> v1.60.3

Release Notes

golangci/golangci-lint (docker.io/golangci/golangci-lint)

v1.60.3

Compare Source

  1. Updated linters
  2. Misc.
    • Check that the Go version use to build is greater or equals to the Go version of the project

v1.60.2

Compare Source

  1. Updated linters
  • gofmt: update to HEAD (go1.22)
  • gofumpt: from 0.6.0 to 0.7.0
  • gosec: fix G602 analyzer
  • gosec: from 5f0084e to 81cda2f (adds G115, G405, G406, G506, G507)
  • staticcheck: from 0.5.0 to 0.5.1
  • staticcheck: propagate Go version
  • wrapcheck: from 2.8.3 to 2.9.0
  • ⚠️ exportloopref: deprecation

v1.60.1

Compare Source

  1. Updated linters
    • errorlint: from 1.5.2 to 1.6.0
    • exhaustruct: from 3.2.0 to 3.3.0 (recognize custom error values in return)
    • fatcontext: from 0.2.2 to 0.4.0 (fix false positives for context stored in structs)
    • gocognit: from 1.1.2 to 1.1.3
    • gomodguard: from 1.3.2 to 1.3.3
    • govet (printf): report non-constant format, no args
    • lll: advertise max line length instead of just reporting failure
    • revive: from 1.3.7 to 1.3.9 (new rule: comments-density)
    • sloglint: from 0.7.1 to 0.7.2
    • spancheck: from 0.6.1 to 0.6.2
    • staticcheck: from 0.4.7 to 0.5.0
    • tenv: from 1.7.1 to 1.10.0 (remove reports on fuzzing)
    • testifylint: from 1.3.1 to 1.4.3 (new options: formatter, suite-broken-parallel, suite-subtest-run)
    • tparallel: from 0.3.1 to 0.3.2
    • usestdlibvars: from 1.26.0 to 1.27.0 (fix false-positive with number used inside a mathematical operations)
    • wsl: from 4.2.1 to 4.4.1
    • ⚠️ unused: remove exported-is-used option
  2. Fixes
    • SARIF: sanitize level property
    • ⚠️ typecheck issues should never be ignored
  3. Documentation
    • Add link on linter without configuration
    • Remove 'trusted by' page
    • wsl update documentation of the configuration
  4. misc.
    • 🎉 go1.23 support

Configuration

📅 Schedule: Branch creation - "on monday and friday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@cilium-renovate cilium-renovate bot requested review from willfindlay and a team as code owners August 16, 2024 10:12
@cilium-renovate cilium-renovate bot added release-blocker This PR or issue is blocking the next release. release-note/dependency This PR updates one or multiple dependencies labels Aug 16, 2024
@cilium-renovate cilium-renovate bot force-pushed the renovate/main-docker.io-golangci-golangci-lint-1.x branch from 8a80b05 to 06d8677 Compare August 21, 2024 09:09
@cilium-renovate cilium-renovate bot changed the title chore(deps): update docker.io/golangci/golangci-lint docker tag to v1.60.1 (main) chore(deps): update docker.io/golangci/golangci-lint docker tag to v1.60.2 (main) Aug 21, 2024
….60.3

Signed-off-by: cilium-renovate[bot] <134692979+cilium-renovate[bot]@users.noreply.github.com>
@cilium-renovate cilium-renovate bot force-pushed the renovate/main-docker.io-golangci-golangci-lint-1.x branch from 06d8677 to 3c7b64e Compare August 23, 2024 09:11
@cilium-renovate cilium-renovate bot changed the title chore(deps): update docker.io/golangci/golangci-lint docker tag to v1.60.2 (main) chore(deps): update docker.io/golangci/golangci-lint docker tag to v1.60.3 (main) Aug 23, 2024
Copy link

netlify bot commented Aug 29, 2024

Deploy Preview for tetragon ready!

Name Link
🔨 Latest commit 693aaef
🔍 Latest deploy log https://app.netlify.com/sites/tetragon/deploys/66d0453f642d0d00088c1ba0
😎 Deploy Preview https://deploy-preview-2813--tetragon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

}

func (tl tlog) Write(p []byte) (n int, err error) {
tl.Logf((string)(p))
tl.Log(string(p))
Copy link
Member

Choose a reason for hiding this comment

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

Hey @kkourt, I think it was a mistake here that maybe you wanted to use Logrus here and not the native testing Log functions. I also think that it doesn't really matter maybe? What do you think?

Copy link
Contributor

Choose a reason for hiding this comment

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

I honestly don't remember, but change LGTM :)

@mtardy mtardy requested a review from kkourt August 29, 2024 09:55
@cilium-renovate
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Fix those issues:

	pkg/filters/caps.go:29:5                          gosimple  S1009: should omit nil check; len() for []github.com/cilium/tetragon/api/v1/tetragon.CapabilitiesType is defined as zero
	pkg/filters/caps.go:34:5                          gosimple  S1009: should omit nil check; len() for []github.com/cilium/tetragon/api/v1/tetragon.CapabilitiesType is defined as zero
	pkg/filters/caps.go:39:5                          gosimple  S1009: should omit nil check; len() for []github.com/cilium/tetragon/api/v1/tetragon.CapabilitiesType is defined as zero
	pkg/filters/caps.go:44:5                          gosimple  S1009: should omit nil check; len() for []github.com/cilium/tetragon/api/v1/tetragon.CapabilitiesType is defined as zero
	pkg/policyfilter/k8s_test.go:51:10                govet     printf: non-constant format string in call to (*testing.common).Logf
	pkg/sensors/exec/exec_test.go:367:13              govet     printf: non-constant format string in call to fmt.Printf
	pkg/sensors/exec/exec_test.go:496:13              govet     printf: non-constant format string in call to fmt.Printf
	pkg/tracingpolicy/generictracingpolicy.go:231:26  govet     printf: non-constant format string in call to fmt.Errorf

Signed-off-by: Mahe Tardy <[email protected]>
@mtardy mtardy force-pushed the renovate/main-docker.io-golangci-golangci-lint-1.x branch from 693aaef to ec968c3 Compare August 29, 2024 12:22
@mtardy mtardy merged commit 539d050 into main Sep 2, 2024
40 checks passed
@mtardy mtardy deleted the renovate/main-docker.io-golangci-golangci-lint-1.x branch September 2, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-blocker This PR or issue is blocking the next release. release-note/dependency This PR updates one or multiple dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants