-
Notifications
You must be signed in to change notification settings - Fork 2.3k
CI: update actions and golangci-lint #1459
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
Conversation
|
oh! looks like the golangci-lint config needs updating as well (probably gonna be a bit tedious); |
|
Also seeing data race Details
|
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: 1
```
Signed-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>
Saw that one, yes! Happy you fixed that one as well; thank you! |
thaJeztah
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) | `v1.9.3` -> `v1.9.4` |  |  | --- ### Release Notes <details> <summary>sirupsen/logrus (github.com/sirupsen/logrus)</summary> ### [`v1.9.4`](https://github.com/sirupsen/logrus/releases/tag/v1.9.4) [Compare Source](sirupsen/logrus@v1.9.3...v1.9.4) #### Notable changes - go.mod: update minimum supported go version to v1.17 [#​1460](sirupsen/logrus#1460) - go.mod: bump up dependencies [#​1460](sirupsen/logrus#1460) - Touch-up godoc and add "doc" links. - README: fix links, grammar, and update examples. - Add GNU/Hurd support [#​1364](sirupsen/logrus#1364) - Add WASI wasip1 support [#​1388](sirupsen/logrus#1388) - Remove uses of deprecated `ioutil` package [#​1472](sirupsen/logrus#1472) - CI: update actions and golangci-lint [#​1459](sirupsen/logrus#1459) - CI: remove appveyor, add macOS [#​1460](sirupsen/logrus#1460) **Full Changelog**: <sirupsen/logrus@v1.9.3...v1.9.4> </details> --- ### Configuration 📅 **Schedule**: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), Automerge - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC). 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43OC4xIiwidXBkYXRlZEluVmVyIjoiNDIuNzguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiS2luZC9EZXBlbmRlbmN5VXBkYXRlIiwicnVuLWVuZC10by1lbmQtdGVzdHMiXX0=--> Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/1306 Reviewed-by: Mathieu Fenniak <mfenniak@noreply.code.forgejo.org> Co-authored-by: Renovate Bot <bot@kriese.eu> Co-committed-by: Renovate Bot <bot@kriese.eu>
Uh oh!
There was an error while loading. Please reload this page.