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

ci: bump up golangci-lint to v1.55.0 #4376

Merged
merged 1 commit into from
Oct 25, 2023
Merged

Conversation

ktock
Copy link
Collaborator

@ktock ktock commented Oct 25, 2023

golangci-lint v1.55.0: https://github.com/golangci/golangci-lint/releases/tag/v1.55.0

This commit also fixes the following linter error:

cmd/buildctl/build/output.go:114:9: indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
	} else {
		// e.g. client.ExporterImage
		if dest != "" {
			return nil, "", errors.Errorf("output %s is not supported by %s exporter", dest, exporter)
		}
		return nil, "", nil
	}

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
@jedevc
Copy link
Member

jedevc commented Oct 25, 2023

Ohh testifylint looks interesting 👀

@jedevc jedevc merged commit e1095ed into moby:master Oct 25, 2023
56 checks passed
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.

2 participants