Skip to content

Commit 2ef4298

Browse files
committed
feat: add xmllint for XML validation, fix flint.toml exclude format
Adds cargo:xmloxide which installs the xmllint binary — validates well-formedness of all *.xml files (pom.xml, version-rules.xml, etc.). Also migrates flint.toml from the old exclude/exclude_paths fields to the new single glob list format (required by current flint v2). Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 43537d2 commit 2ef4298

4 files changed

Lines changed: 7356 additions & 4137 deletions

File tree

.github/config/flint.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[settings]
2-
exclude = "src/main/generated"
3-
exclude_paths = [
4-
"docs/themes/",
2+
exclude = [
3+
"src/main/generated/**",
4+
"docs/themes/**",
55
"mvnw",
6-
"simpleclient-archive/",
6+
"simpleclient-archive/**",
77
]
88

99
[checks.renovate-deps]

.github/renovate-tracked-deps.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
"mise": [
166166
"actionlint",
167167
"cargo:https://github.com/grafana/flint",
168+
"cargo:xmloxide",
168169
"editorconfig-checker",
169170
"github:google/google-java-format",
170171
"go:github.com/gohugoio/hugo",

mise.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"cargo:https://github.com/grafana/flint" = "branch:feat/flint-v2"
33
"go:github.com/gohugoio/hugo" = "v0.157.0"
44
"go:github.com/grafana/oats" = "0.6.1"
5+
"cargo:xmloxide" = "0.4.1"
56
"github:google/google-java-format" = "1.26.0"
67
actionlint = "1.7.10"
78
editorconfig-checker = "v3.6.1"

0 commit comments

Comments
 (0)