GitHub Actions: cache buildSrc/build to speed up Gradle builds by ~40 seconds

This commit is contained in:
Karl Tauber
2025-11-01 11:15:46 +01:00
parent 02f7cb8972
commit d4827b6ddf
7 changed files with 57 additions and 6 deletions

View File

@@ -14,6 +14,7 @@ on:
- '.*'
- '**/.settings/**'
- 'flatlaf-core/svg/**'
- 'flatlaf-natives/**'
- 'flatlaf-testing/dumps/**'
- 'flatlaf-testing/misc/**'
- 'images/**'
@@ -31,7 +32,9 @@ jobs:
with:
java-version: 21
distribution: temurin # pre-installed on ubuntu-latest
cache: gradle
- name: Cache Gradle
uses: ./.github/actions/cache-gradle
- name: Check with Error Prone
run: ./gradlew errorprone