Skip to content

bump golangci-lint to v1.62.2 #367

bump golangci-lint to v1.62.2

bump golangci-lint to v1.62.2 #367

Triggered via pull request December 10, 2024 12:51
Status Success
Total duration 4m 40s
Artifacts

sanity.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build
use BeforeEach() to assign variable vWhen
build
use BeforeEach() to assign variable vContext
build
ginkgo-linter: wrong comparison assertion. Consider using `Expect(p1).To(BeIdenticalTo(p2))` instead
build
ginkgo-linter: comparing a pointer to a value will always fail. Consider using `Expect(p1).ToNot(HaveValue(Equal(6)))` instead
build
ginkgo-linter: comparing a pointer to a value will always fail. Consider using `Expect(p1).ToNot(HaveValue(Equal(6)))` instead
build
ginkgo-linter: multiple issues: timeout defined more than once; polling defined more than once
build
ginkgo-linter: multiple issues: only use time.Duration for timeout and polling in Eventually() or Consistently(); only use time.Duration for timeout and polling in Eventually() or Consistently(). Consider using `Consistently(func() bool { return true }, time.Second*10, time.Second).Should(BeTrue())` instead
build
ginkgo-linter: timeout must not be shorter than the polling interval
build
ginkgo-linter: Success matcher only support a single error value, or function with Gomega as its first parameter
build
ginkgo-linter: wrong error assertion. Consider using `Eventually(func() error { return err }).Should(Succeed())` instead
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636