Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
java: [ '17', '21', '24', '25-ea' ]
java: [ '17', '21', '25' ]
Copy link

Choose a reason for hiding this comment

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

🛠️ Refactor suggestion | 🟠 Major

Fix YAMLlint error on matrix list spacing

YAMLlint flags Line 12 (“too many spaces inside brackets”), which will fail linting. Drop the inner padding so the matrix passes lint.

-        java: [ '17', '21', '25' ]
+        java: ['17', '21', '25']
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
java: [ '17', '21', '25' ]
java: ['17', '21', '25']
🧰 Tools
🪛 YAMLlint (1.37.1)

[error] 12-12: too many spaces inside brackets

(brackets)


[error] 12-12: too many spaces inside brackets

(brackets)

🤖 Prompt for AI Agents
.github/workflows/gradle.yml around line 12: the matrix entry currently uses
spaced brackets ("java: [ '17', '21', '25' ]") which YAMLlint flags for "too
many spaces inside brackets"; remove the inner padding so the list has no spaces
inside the brackets (e.g. "java:['17','21','25']") or convert to a standard YAML
sequence (each version on its own line) to satisfy linting.


steps:
- uses: actions/checkout@v5
Expand Down