fix(ci): reduce workflow cache churn
- GitHub Actions caching: - replace implicit setup-java cache writes with explicit Gradle cache restore/save steps - only persist the shared Gradle cache from long-lived develop and release workflows - remove the unnecessary QEMU setup from the single-arch smoke build - disable QEMU image caching in multi-arch publish workflows to stop repeated binfmt cache entries - CodeQL workflow: - replace the generated advanced template with a pinned repo-owned CodeQL workflow - add per-ref concurrency to cancel superseded CodeQL runs before they create more caches - restrict dependency caching to Java, using restore-only on pull requests and full caching on long-lived runs - disable trap caching and turn off PR overlay database caching to avoid repetitive low-value CodeQL caches - Validation: - validated the edited workflow YAML with yq - did not execute the workflows locally
This commit is contained in:
@@ -29,6 +29,7 @@ jobs:
|
||||
checks: write
|
||||
with:
|
||||
checkout_ref: ${{ github.sha }}
|
||||
save_gradle_cache: true
|
||||
|
||||
semantic-release:
|
||||
name: Compute Release, Update Changelog, and Draft GitHub Release
|
||||
|
||||
Reference in New Issue
Block a user