ci: constrain cache e2e job modes (#1244)
Some checks failed
Licensed / Licensed (push) Failing after 1s
Basic validation / Basic validation (push) Failing after 1s
Check dist/ / Check dist/ (push) Failing after 1s
CodeQL analysis / CodeQL analysis (push) Failing after 0s
Validate cache / gradle-save (ubuntu-latest) (push) Failing after 11s
Validate cache / maven-save (ubuntu-latest) (push) Failing after 9s
Validate cache / sbt-save (ubuntu-22.04) (push) Failing after 10s
Validate cache / gradle1-save (ubuntu-latest) (push) Failing after 59s
Validate cache / maven1-save (ubuntu-latest) (push) Failing after 37s
Validate cache / sbt1-save (ubuntu-22.04) (push) Failing after 39s
Validate cache / custom-maven-path-save (push) Failing after 4m38s
Validate cache / custom-maven-path-restore (push) Has been skipped
Validate local file / Validate installation from local file Zulu (ubuntu-latest) (push) Failing after 6s
Validate local file / Validate installation from local file Eclipse Temurin (ubuntu-latest) (push) Failing after 4s
Validate publishing functionality / Validate settings.xml (ubuntu-latest) (push) Failing after 10s
Validate publishing functionality / settings.xml is overwritten if flag is true (ubuntu-latest) (push) Failing after 10s
Validate publishing functionality / settings.xml is not overwritten if flag is false (ubuntu-latest) (push) Failing after 9s
Validate publishing functionality / settings.xml in custom location (ubuntu-latest) (push) Failing after 10s
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (liberica, jdk+fx, ubuntu-latest, 21) (push) Failing after 10s
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (microsoft, jdk, ubuntu-latest, 25) (push) Failing after 9s
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (temurin, jdk, ubuntu-latest, 21) (push) Failing after 10s
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (temurin, jdk, ubuntu-latest, 25) (push) Failing after 10s
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (zulu, jre, ubuntu-latest, 17) (push) Failing after 10s
Security analysis with zizmor / Analyze workflows with zizmor (push) Failing after 9s
Validate cache / gradle-save (macos-15-intel) (push) Has been cancelled
Validate cache / gradle-save (windows-latest) (push) Has been cancelled
Validate cache / sbt-save (windows-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is not overwritten if flag is false (windows-latest) (push) Has been cancelled
Validate cache / maven-save (macos-15-intel) (push) Has been cancelled
Validate cache / maven-save (windows-latest) (push) Has been cancelled
Validate cache / sbt-save (macos-15-intel) (push) Has been cancelled
Validate cache / gradle1-save (macos-latest) (push) Has been cancelled
Validate cache / gradle1-save (windows-latest) (push) Has been cancelled
Validate cache / maven1-save (macos-15-intel) (push) Has been cancelled
Validate cache / maven1-save (windows-latest) (push) Has been cancelled
Validate cache / sbt1-save (macos-15-intel) (push) Has been cancelled
Validate cache / sbt1-save (windows-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Zulu (windows-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Zulu (macos-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Eclipse Temurin (macos-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Eclipse Temurin (windows-latest) (push) Has been cancelled
Validate publishing functionality / Validate settings.xml (macos-latest) (push) Has been cancelled
Validate publishing functionality / Validate settings.xml (windows-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is overwritten if flag is true (macos-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is overwritten if flag is true (windows-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is not overwritten if flag is false (macos-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml in custom location (macos-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml in custom location (windows-latest) (push) Has been cancelled
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (microsoft, jdk, macos-latest, 25) (push) Has been cancelled
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (microsoft, jdk, windows-latest, 25) (push) Has been cancelled
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (temurin, jdk, macos-latest, 11) (push) Has been cancelled
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (temurin, jdk, macos-latest, 25) (push) Has been cancelled
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (temurin, jdk, windows-latest, 17) (push) Has been cancelled
Validate Java e2e smoke / ${{ matrix.distribution }} ${{ matrix.version }} (${{ matrix.java-package }}) - ${{ matrix.os }} (temurin, jdk, windows-latest, 25) (push) Has been cancelled
Validate cache / gradle2-restore (macos-latest) (push) Has been cancelled
Validate cache / gradle-restore (macos-15-intel) (push) Has been cancelled
Validate cache / gradle-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / gradle-restore (windows-latest) (push) Has been cancelled
Validate cache / maven-restore (macos-15-intel) (push) Has been cancelled
Validate cache / maven-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / maven-restore (windows-latest) (push) Has been cancelled
Validate cache / sbt-restore (macos-15-intel) (push) Has been cancelled
Validate cache / sbt-restore (ubuntu-22.04) (push) Has been cancelled
Validate cache / sbt-restore (windows-latest) (push) Has been cancelled
Validate cache / gradle1-restore (macos-latest) (push) Has been cancelled
Validate cache / gradle1-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / gradle1-restore (windows-latest) (push) Has been cancelled
Validate cache / gradle2-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / gradle2-restore (windows-latest) (push) Has been cancelled
Validate cache / maven1-restore (macos-15-intel) (push) Has been cancelled
Validate cache / maven1-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / maven1-restore (windows-latest) (push) Has been cancelled
Validate cache / maven2-restore (macos-15-intel) (push) Has been cancelled
Validate cache / maven2-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / maven2-restore (windows-latest) (push) Has been cancelled
Validate cache / sbt1-restore (macos-15-intel) (push) Has been cancelled
Validate cache / sbt1-restore (ubuntu-22.04) (push) Has been cancelled
Validate cache / sbt1-restore (windows-latest) (push) Has been cancelled
Validate cache / sbt2-restore (macos-15-intel) (push) Has been cancelled
Validate cache / sbt2-restore (ubuntu-22.04) (push) Has been cancelled
Validate cache / sbt2-restore (windows-latest) (push) Has been cancelled

* ci: constrain cache e2e job modes

* ci: constrain cache benchmark job modes
This commit is contained in:
Philip Gai 2026-08-18 09:56:27 -05:00 committed by GitHub
parent ff99aa1c87
commit 11741d6cfa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 19 additions and 0 deletions

View File

@ -24,6 +24,7 @@ jobs:
warm-caches:
name: Warm ${{ matrix.tool }} ${{ matrix.profile }} caches (${{ matrix.os }})
runs-on: ${{ matrix.os }}
cache-mode: write-only
strategy:
fail-fast: false
matrix:
@ -65,6 +66,7 @@ jobs:
name: Benchmark ${{ matrix.tool }} ${{ matrix.profile }} (${{ matrix.os }})
needs: warm-caches
runs-on: ${{ matrix.os }}
cache-mode: read
strategy:
fail-fast: false
matrix:

View File

@ -21,6 +21,7 @@ defaults:
jobs:
gradle-save:
runs-on: ${{ matrix.os }}
cache-mode: write-only
strategy:
fail-fast: false
matrix:
@ -48,6 +49,7 @@ jobs:
bash __tests__/check-dir.sh "$HOME/.gradle/wrapper/dists"
gradle-restore:
runs-on: ${{ matrix.os }}
cache-mode: read
strategy:
fail-fast: false
matrix:
@ -72,6 +74,7 @@ jobs:
run: bash __tests__/check-dir.sh "$HOME/.gradle/wrapper/dists"
maven-save:
runs-on: ${{ matrix.os }}
cache-mode: write-only
strategy:
fail-fast: false
matrix:
@ -97,6 +100,7 @@ jobs:
bash __tests__/check-dir.sh "$HOME/.m2/wrapper/dists"
maven-restore:
runs-on: ${{ matrix.os }}
cache-mode: read
strategy:
fail-fast: false
matrix:
@ -121,6 +125,7 @@ jobs:
run: bash __tests__/check-dir.sh "$HOME/.m2/wrapper/dists"
sbt-save:
runs-on: ${{ matrix.os }}
cache-mode: write-only
defaults:
run:
shell: bash
@ -160,6 +165,7 @@ jobs:
run: bash "$GITHUB_WORKSPACE/__tests__/check-dir.sh" "$HOME/.cache/coursier"
sbt-restore:
runs-on: ${{ matrix.os }}
cache-mode: read
defaults:
run:
shell: bash
@ -194,6 +200,7 @@ jobs:
run: bash "$GITHUB_WORKSPACE/__tests__/check-dir.sh" "$HOME/.cache/coursier"
gradle1-save:
runs-on: ${{ matrix.os }}
cache-mode: write-only
strategy:
fail-fast: false
matrix:
@ -222,6 +229,7 @@ jobs:
bash __tests__/check-dir.sh "$HOME/.gradle/wrapper/dists"
gradle1-restore:
runs-on: ${{ matrix.os }}
cache-mode: read
strategy:
fail-fast: false
matrix:
@ -246,6 +254,7 @@ jobs:
run: bash __tests__/check-dir.sh "$HOME/.gradle/wrapper/dists"
gradle2-restore:
runs-on: ${{ matrix.os }}
cache-mode: read
strategy:
fail-fast: false
matrix:
@ -268,6 +277,7 @@ jobs:
run: bash __tests__/check-dir.sh "$HOME/.gradle/caches" absent
maven1-save:
runs-on: ${{ matrix.os }}
cache-mode: write-only
strategy:
fail-fast: false
matrix:
@ -294,6 +304,7 @@ jobs:
bash __tests__/check-dir.sh "$HOME/.m2/wrapper/dists"
maven1-restore:
runs-on: ${{ matrix.os }}
cache-mode: read
strategy:
fail-fast: false
matrix:
@ -318,6 +329,7 @@ jobs:
run: bash __tests__/check-dir.sh "$HOME/.m2/wrapper/dists"
maven2-restore:
runs-on: ${{ matrix.os }}
cache-mode: read
strategy:
fail-fast: false
matrix:
@ -342,6 +354,7 @@ jobs:
run: bash __tests__/check-dir.sh "$HOME/.m2/repository" absent
sbt1-save:
runs-on: ${{ matrix.os }}
cache-mode: write-only
defaults:
run:
shell: bash
@ -382,6 +395,7 @@ jobs:
run: bash "$GITHUB_WORKSPACE/__tests__/check-dir.sh" "$HOME/.cache/coursier"
sbt1-restore:
runs-on: ${{ matrix.os }}
cache-mode: read
defaults:
run:
shell: bash
@ -416,6 +430,7 @@ jobs:
run: bash "$GITHUB_WORKSPACE/__tests__/check-dir.sh" "$HOME/.cache/coursier"
sbt2-restore:
runs-on: ${{ matrix.os }}
cache-mode: read
defaults:
run:
shell: bash
@ -450,6 +465,7 @@ jobs:
run: bash "$GITHUB_WORKSPACE/__tests__/check-dir.sh" "$HOME/.cache/coursier" absent
custom-maven-path-save:
runs-on: ubuntu-latest
cache-mode: write-only
steps:
- name: Checkout
uses: actions/checkout@v7
@ -474,6 +490,7 @@ jobs:
bash __tests__/check-dir.sh "$RUNNER_TEMP/setup-java-custom-maven-repository"
custom-maven-path-restore:
runs-on: ubuntu-latest
cache-mode: read
needs: custom-maven-path-save
steps:
- name: Checkout