HyukjinKwon opened a new pull request #30391:
URL: https://github.com/apache/spark/pull/30391


   ### What changes were proposed in this pull request?
   
   This PR proposes:
   - Add `~/.sbt` directory into the build cache, see also 
https://github.com/sbt/sbt/issues/3681
   - Move `hadoop-2` below to put up together with `java-11` and `scala-213`.
   - Remove unnecessary `.m2` cache. If you run SBT tests only, `.m2` directory 
is not necessary.
   - Use Java 8 in Scala 2.13 build. We can switch the Java version used for 
release later.
   - Add caches into linters. The linter scripts uses `sbt` in, for example, 
`./dev/lint-scala`, and uses `mvn` in, for example, `./dev/lint-java`. Also, it 
requires to `sbt package` in Jekyll build, see: 
https://github.com/apache/spark/blob/master/docs/_plugins/copy_api_dirs.rb#L160-L161.
 We need full caches here for Maven, SBT, and build tools.
   
   ### Why are the changes needed?
   
   - Remove unnecessary stuff
   - Cache what we can in the build
   
   ### Does this PR introduce _any_ user-facing change?
   
   No, dev-only.
   
   ### How was this patch tested?
   
   It will be tested in GitHub Actions build at the current PR


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to