Skip to content

gha: update actions/setup-go@v5, actions/checkout@v4, golangci-lint to v1.62.2, test against go1.22, go1.23 (latest, latest -1)#46

Merged
thaJeztah merged 6 commits intomoby:mainfrom
thaJeztah:refresh_gha
Jan 2, 2025

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

tests: rename vars that shadowed package func and unhandled error

Also update some failure messages.

setRawTerminalOutput: remove parameter name (revive)

term_unix.go:84:27: unused-parameter: parameter 'fd' seems to be unused, consider removing or renaming it as _ (revive)
func setRawTerminalOutput(fd uintptr) (*State, error) {
                          ^
  • gha: update golangci-lint to v1.62.2 and enable default linters
  • gha: update actions/setup-go@v5
  • gha: update actions/checkout@v4
  • gha: test against go1.22, go1.23 (latest, latest -1)

Also update some failure messages.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
    term_unix.go:84:27: unused-parameter: parameter 'fd' seems to be unused, consider removing or renaming it as _ (revive)
    func setRawTerminalOutput(fd uintptr) (*State, error) {
                              ^

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah merged commit e3559a6 into moby:main Jan 2, 2025
@thaJeztah thaJeztah deleted the refresh_gha branch January 2, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants