CI: update actions and golangci-lint by AkihiroSuda · Pull Request #1459 · sirupsen/logrus (original) (raw)
Signed-off-by: Akihiro Suda akihiro.suda.cz@hco.ntt.co.jp
Signed-off-by: Akihiro Suda akihiro.suda.cz@hco.ntt.co.jp
WARN [runner/nolint_filter] Found unknown linters in //nolint directives: scopelint
entry.go:44:6: the methods of "Entry" use pointer receiver and non-pointer receiver. (recvcheck)
type Entry struct {
^
logrus.go:13:6: the methods of "Level" use pointer receiver and non-pointer receiver. (recvcheck)
type Level uint32
^
internal/testutils/testutils.go:10:2: ST1001: should not use dot imports (staticcheck)
. "github.com/sirupsen/logrus"
^
text_formatter.go:309:6: QF1001: could apply De Morgan's law (staticcheck)
if !((ch >= 'a' && ch <= 'z') ||
^
text_formatter.go:337:3: QF1012: Use fmt.Fprintf(...) instead of WriteString(fmt.Sprintf(...)) (staticcheck)
b.WriteString(fmt.Sprintf("%q", stringVal))
^
internal/testutils/testutils.go:26:2: error-nil: use require.NoError (testifylint)
require.Nil(t, err)
^
6 issues:
* recvcheck: 2
* staticcheck: 3
* testifylint: 1Signed-off-by: Akihiro Suda akihiro.suda.cz@hco.ntt.co.jp
Also set GOTOOLCHAIN=local so as to enforce installing a specific version of Go
Signed-off-by: Akihiro Suda akihiro.suda.cz@hco.ntt.co.jp
AkihiroSuda changed the title
CI: update actions CI: update actions and golangci-lint
arthurzam pushed a commit to gentoo-golang-dist/forgejo-runner that referenced this pull request
Luzifer pushed a commit to Luzifer/automail that referenced this pull request
This was referenced
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})