-
Notifications
You must be signed in to change notification settings - Fork 296
chore: upgrade Go to 1.23.0 #796
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
Signed-off-by: Donnie Adams <[email protected]>
go test -v -tags='smoke' ./pkg/tests/smoke/... | ||
|
||
GOLANGCI_LINT_VERSION ?= v1.59.0 | ||
GOLANGCI_LINT_VERSION ?= v1.60.1 |
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.
Bump to support Go 1.23
// Handle path-level server override, if one exists | ||
pathServer := defaultServer | ||
if pathObj.Servers != nil && len(pathObj.Servers) > 0 { | ||
if len(pathObj.Servers) > 0 { |
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.
New linter complaint.
// Handle path-level server override, if one exists. | ||
pathServer := defaultServer | ||
if pathItem.Servers != nil && len(pathItem.Servers) > 0 { | ||
if len(pathItem.Servers) > 0 { |
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.
New linter complaint.
return nil | ||
} | ||
if _, err := os.Stat(filepath.Join(tool.WorkingDir, packageJSON)); errors.Is(fs.ErrNotExist, err) { | ||
if _, err := os.Stat(filepath.Join(tool.WorkingDir, packageJSON)); errors.Is(err, fs.ErrNotExist) { |
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.
New linter complaint, which is actually a bug.
content, loadErr := input.FromLocation(reqObject.File, reqObject.DisableCache) | ||
if loadErr != nil { | ||
logger.Errorf(loadErr.Error()) | ||
logger.Errorf("failed to load file: %v", loadErr) |
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.
New linter complaint.
No description provided.