mirror of
https://github.com/gradle/actions.git
synced 2026-04-19 18:12:58 +08:00
ff9ae24c39
## Summary
- **New `basic` cache provider**: Adds an open-source (MIT-licensed)
caching implementation built on `@actions/cache` as an alternative to
the proprietary Enhanced Caching. Users can opt in with `cache-provider:
basic` on both `setup-gradle` and `dependency-submission` actions.
- **Revamped licensing & distribution docs**: Replaces the verbose
licensing notice block (previously shown in README, docs, and logs) with
a friendlier callout and a new dedicated
[DISTRIBUTION.md](./DISTRIBUTION.md) covering component licensing, usage
tiers, data privacy ("Safe Harbor"), and opt-out instructions.
- **Improved messaging**: Enhanced Caching and Basic Caching each
display concise, informative log messages and job summary notes instead
of the previous wall-of-text license warning.
- **New integration tests**: Adds `integ-test-basic-cache-provider.yml`
workflow that seeds and verifies the basic cache provider across
platforms, plus unit tests for `BasicCacheService` and `getCacheService`
selection logic.
- **CI workflow reorganization**: Dependency-submission integration
tests extracted into their own reusable suite
(`suite-integ-test-dependency-submission.yml`); sample project tests
moved into the caching suite.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
66 lines
1.7 KiB
YAML
66 lines
1.7 KiB
YAML
name: suite-integ-test-caching
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
runner-os:
|
|
type: string
|
|
default: '["ubuntu-latest"]'
|
|
skip-dist:
|
|
type: boolean
|
|
default: false
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
cache-cleanup:
|
|
uses: ./.github/workflows/integ-test-cache-cleanup.yml
|
|
with:
|
|
runner-os: '${{ inputs.runner-os }}'
|
|
skip-dist: ${{ inputs.skip-dist }}
|
|
|
|
caching-config:
|
|
uses: ./.github/workflows/integ-test-caching-config.yml
|
|
with:
|
|
runner-os: '${{ inputs.runner-os }}'
|
|
skip-dist: ${{ inputs.skip-dist }}
|
|
|
|
restore-containerized-gradle-home:
|
|
uses: ./.github/workflows/integ-test-restore-containerized-gradle-home.yml
|
|
with:
|
|
skip-dist: ${{ inputs.skip-dist }}
|
|
|
|
restore-custom-gradle-home:
|
|
uses: ./.github/workflows/integ-test-restore-custom-gradle-home.yml
|
|
with:
|
|
skip-dist: ${{ inputs.skip-dist }}
|
|
|
|
restore-gradle-home:
|
|
uses: ./.github/workflows/integ-test-restore-gradle-home.yml
|
|
with:
|
|
skip-dist: ${{ inputs.skip-dist }}
|
|
|
|
restore-java-toolchain:
|
|
uses: ./.github/workflows/integ-test-restore-java-toolchain.yml
|
|
with:
|
|
skip-dist: ${{ inputs.skip-dist }}
|
|
|
|
sample-kotlin-dsl:
|
|
uses: ./.github/workflows/integ-test-sample-kotlin-dsl.yml
|
|
with:
|
|
runner-os: '${{ inputs.runner-os }}'
|
|
skip-dist: ${{ inputs.skip-dist }}
|
|
|
|
sample-gradle-plugin:
|
|
uses: ./.github/workflows/integ-test-sample-gradle-plugin.yml
|
|
with:
|
|
runner-os: '${{ inputs.runner-os }}'
|
|
skip-dist: ${{ inputs.skip-dist }}
|
|
|
|
basic-cache-provider:
|
|
uses: ./.github/workflows/integ-test-basic-cache-provider.yml
|
|
with:
|
|
runner-os: '${{ inputs.runner-os }}'
|
|
skip-dist: ${{ inputs.skip-dist }}
|