Skip to content

Conversation

@djdongjin
Copy link
Member

@djdongjin djdongjin commented Feb 18, 2025

The latest golangci-lint-action enabled config schema check:
https://github.com/golangci/golangci-lint-action/releases/tag/v6.5.0

Changes
feat: verify with the JSONSchema by default by @ldez in golangci/golangci-lint-action#1171

On 1.7 release branch we are using golangci-lint version 1.60.3, which has removed the deprecated skip-dirs field (see its json schema), thus failing the 1.7 CI.

It doesn't fail on 1.6 because we use version 1.55.0.

Signed-off-by: Jin Dong <djdongjin95@gmail.com>
@dosubot dosubot bot added area/toolchain Build and Release Toolchain area/github_actions Pull requests that update GitHub Actions code labels Feb 18, 2025
@djdongjin djdongjin changed the title move skip-dirs to issues.exclude-dirs [release/1.7] Move skip-dirs to issues.exclude-dirs in golangci-lint config Feb 18, 2025
@djdongjin djdongjin changed the title [release/1.7] Move skip-dirs to issues.exclude-dirs in golangci-lint config [release/1.7] Move run.skip-dirs to issues.exclude-dirs in golangci-lint config Feb 18, 2025
Copy link
Member

@austinvazquez austinvazquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find, lgtm

@mxpv mxpv merged commit 7e433e0 into containerd:release/1.7 Feb 18, 2025
57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/github_actions Pull requests that update GitHub Actions code area/toolchain Build and Release Toolchain size/S

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants