reduce unnecessary module lint warnings in workflows
What changed, and why it matters
This commit only changes two GitHub workflow files to add a Java compiler option that suppresses a specific category of warning messages ('module' lint warnings). It does not modify application code, dependencies, build logic, or anything that handles user data, keys, or network traffic. There is no security relevance visible in the diff or commit message.
No security action needed. This is a benign CI configuration change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds JDK_JAVAC_OPTIONS: '-Xlint:-module' to .github/workflows/dependency-verification.yaml and .github/workflows/package.yaml. This environment variable disables the Java compiler’s module-related lint diagnostics during CI builds. The change is purely cosmetic/log noise reduction and does not alter compilation output, dependency verification, packaging artifacts, or runtime behavior.
Changed components
.github/workflows/dependency-verification.yaml.github/workflows/package.yamlInspect captured patch +4 / −0
diff --git a/.github/workflows/dependency-verification.yaml b/.github/workflows/dependency-verification.yaml
index 92b6a5c..73fba80 100644
--- a/.github/workflows/dependency-verification.yaml
+++ b/.github/workflows/dependency-verification.yaml
@@ -12,6 +12,7 @@ env:
ALLOW_ADDITIONAL_ARTIFACT_CHECKSUMS: 'false'
CLEAN_STALE_VERIFICATION_METADATA: 'false'
CACHE_GRADLE_WRAPPER_DISTRIBUTION: 'true'
+ JDK_JAVAC_OPTIONS: '-Xlint:-module'
concurrency:
group: dependency-verification-${{ github.ref }}
diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml
index 43c72e3..8695025 100644
--- a/.github/workflows/package.yaml
+++ b/.github/workflows/package.yaml
@@ -5,6 +5,9 @@ on: workflow_dispatch
permissions:
contents: read
+env:
+ JDK_JAVAC_OPTIONS: '-Xlint:-module'
+
jobs:
build:
runs-on: ${{ matrix.os }}
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.