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

golangci: remove exclude-dirs #1225

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

achilleas-k
Copy link
Member

The action now runs config validation automatically [1], which fails on our config because 'exclude-dirs' is not a valid top-level key. Also, we don't have a vendor directory any more so let's just drop it.

golangci-lint --config ./.golangci.yml config verify
jsonschema: "" does not validate with "/additionalProperties": additionalProperties 'exclude-dirs' not allowed
Failed executing command with error: the configuration contains invalid elements

https://github.com/golangci/golangci-lint-action/releases/tag/v6.5.0

The action now runs config validation automatically [1], which fails on
our config because 'exclude-dirs' is not a valid top-level key.  Also,
we don't have a vendor directory any more so let's just drop it.

    golangci-lint --config ./.golangci.yml config verify
    jsonschema: "" does not validate with "/additionalProperties": additionalProperties 'exclude-dirs' not allowed
    Failed executing command with error: the configuration contains invalid elements

https://github.com/golangci/golangci-lint-action/releases/tag/v6.5.0
@achilleas-k
Copy link
Member Author

I'll fix the osbuild-composer integration test separately.

@achilleas-k achilleas-k merged commit f80b2c8 into osbuild:main Feb 17, 2025
17 of 18 checks passed
@achilleas-k achilleas-k deleted the fix/golangci/config branch February 17, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants