Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/benchmark-cache-restore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ defaults:
run:
shell: bash

# The baseline and candidate actions are intentionally loaded from runtime
# checkouts of the user-supplied refs, which the self-repository (`$/`) syntax
# cannot express, so those `uses: ./...` steps are exempt from that audit.
jobs:
warm-caches:
name: Warm ${{ matrix.tool }} ${{ matrix.profile }} caches (${{ matrix.os }})
Expand Down Expand Up @@ -51,7 +54,7 @@ jobs:
- name: Prepare benchmark inputs
run: bash __tests__/benchmark-cache-restore.sh prepare "${{ matrix.tool }}" "${{ matrix.profile }}"
- name: Prepare cache save
uses: ./candidate
uses: ./candidate # zizmor: ignore[self-repository]
with:
distribution: temurin
java-version: '17'
Expand Down Expand Up @@ -99,7 +102,7 @@ jobs:
run: bash __tests__/benchmark-cache-restore.sh start "${{ matrix.tool }}"
- name: Restore with baseline iteration 1
id: baseline-1
uses: ./baseline
uses: ./baseline # zizmor: ignore[self-repository]
with:
distribution: temurin
java-version: '17'
Expand All @@ -117,7 +120,7 @@ jobs:
run: bash __tests__/benchmark-cache-restore.sh start "${{ matrix.tool }}"
- name: Restore with candidate iteration 1
id: candidate-1
uses: ./candidate
uses: ./candidate # zizmor: ignore[self-repository]
with:
distribution: temurin
java-version: '17'
Expand All @@ -135,7 +138,7 @@ jobs:
run: bash __tests__/benchmark-cache-restore.sh start "${{ matrix.tool }}"
- name: Restore with candidate iteration 2
id: candidate-2
uses: ./candidate
uses: ./candidate # zizmor: ignore[self-repository]
with:
distribution: temurin
java-version: '17'
Expand All @@ -153,7 +156,7 @@ jobs:
run: bash __tests__/benchmark-cache-restore.sh start "${{ matrix.tool }}"
- name: Restore with baseline iteration 2
id: baseline-2
uses: ./baseline
uses: ./baseline # zizmor: ignore[self-repository]
with:
distribution: temurin
java-version: '17'
Expand All @@ -171,7 +174,7 @@ jobs:
run: bash __tests__/benchmark-cache-restore.sh start "${{ matrix.tool }}"
- name: Restore with baseline iteration 3
id: baseline-3
uses: ./baseline
uses: ./baseline # zizmor: ignore[self-repository]
with:
distribution: temurin
java-version: '17'
Expand All @@ -189,7 +192,7 @@ jobs:
run: bash __tests__/benchmark-cache-restore.sh start "${{ matrix.tool }}"
- name: Restore with candidate iteration 3
id: candidate-3
uses: ./candidate
uses: ./candidate # zizmor: ignore[self-repository]
with:
distribution: temurin
java-version: '17'
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/e2e-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for gradle
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for gradle
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand All @@ -85,7 +85,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for maven
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand All @@ -112,7 +112,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for maven
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for sbt
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for sbt
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for gradle
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -241,7 +241,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for gradle
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand All @@ -266,7 +266,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for gradle
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand All @@ -288,7 +288,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for maven
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -316,7 +316,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for maven
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand All @@ -341,7 +341,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for maven
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -369,7 +369,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for sbt
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -411,7 +411,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for sbt
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -446,7 +446,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with the cache for sbt
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand All @@ -472,7 +472,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with a custom Maven cache path
uses: ./
uses: $/
with:
distribution: 'temurin'
java-version: '11'
Expand All @@ -498,7 +498,7 @@ jobs:
with:
persist-credentials: false
- name: Run setup-java with a custom Maven cache path
uses: ./
uses: $/
with:
distribution: 'temurin'
java-version: '11'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-local-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
(New-Object System.Net.WebClient).DownloadFile($downloadUrl, "$env:RUNNER_TEMP/$localFilename")
shell: pwsh
- name: setup-java
uses: ./
uses: $/
id: setup-java
with:
distribution: 'jdkfile'
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
(New-Object System.Net.WebClient).DownloadFile($downloadUrl, "$env:RUNNER_TEMP/$localFilename")
shell: pwsh
- name: setup-java
uses: ./
uses: $/
id: setup-java
with:
distribution: 'jdkfile'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/e2e-publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
persist-credentials: false
- name: setup-java
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
New-Item -Path $xmlDirectory -ItemType Directory
Set-Content -Path $xmlPath -Value "Fake_XML"
- name: setup-java
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
New-Item -Path $xmlDirectory -ItemType Directory
Set-Content -Path $xmlPath -Value "Fake_XML"
- name: setup-java
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
with:
persist-credentials: false
- name: setup-java
uses: ./
uses: $/
id: setup-java
with:
distribution: 'temurin'
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
throw "Could not prepare the Maven Help Plugin"
}
- name: Configure dependency and plugin repositories
uses: ./
uses: $/
with:
distribution: 'temurin'
java-version: '21'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
with:
persist-credentials: false
- name: setup-java
uses: ./
uses: $/
id: setup-java
with:
java-version: ${{ matrix.version }}
Expand Down
Loading
Loading