Closed jongwooo closed 1 year ago
Base: 45.00% // Head: 45.00% // No change to project coverage :thumbsup:
Coverage data is based on head (
b1aebb1
) compared to base (61a1a04
). Patch has no changes to coverable lines.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Sorry for the late response — I wasn't entirely sure if GitHub Actions already works well with caching — I had troubles with that a couple of months ago.
Merged, thanks!
Signed-off-by: jongwooo jongwooo.han@gmail.com
Description
Updated workflows to cache dependencies using actions/setup-java.
setup-java@v3
or newer has caching built-in.About caching workflow dependencies
Jobs on GitHub-hosted runners start in a clean virtual environment and must download dependencies each time, causing increased network utilization, longer runtime, and increased cost. To help speed up the time it takes to recreate files like dependencies, GitHub can cache files that frequently use in workflows.
Solutions
Java projects can run faster on GitHub Actions by enabling dependency caching on the setup-java action.
setup-java
supports caching for both Gradle and Maven projects.AS-IS
TO-BE
References
actions/setup-java#caching-packages-dependencies How to build Gradle projects with GitHub Actions