The GitHub Actions job "Validate and test" on 
pekko-http.git/build/enable-fatal-warnings has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
73cde272de641cc4243558cd2e3bc74d4429b459 / 虎鸣 <[email protected]>
build: enable -Xfatal-warnings for Scala 2 and -Werror for Scala 3

Motivation:
Treating warnings as errors ensures that deprecated API usage and other
code quality issues are caught at compile time rather than accumulating.

Modification:
Add -Xfatal-warnings to Scala 2 scalacOptions and -Werror to Scala 3
scalacOptions in Common.scala. Remove -Wconf:cat=deprecation:s for
Scala 3 so deprecation warnings are not silenced. Exclude
-Xfatal-warnings from Compile / doc scope to avoid doc generation
failures.

Result:
All compiler warnings are now treated as errors, enforcing higher code
quality.

Tests:
- CI will verify compilation

References:
None - build configuration improvement

Report URL: https://github.com/apache/pekko-http/actions/runs/28337576692

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to