Fix fetch depth for gradle-compatibility and java-executables-* CI jobs (#1339)

This commit is contained in:
Jen Basch
2025-12-03 10:34:03 -08:00
committed by GitHub
parent 53f3be64f3
commit db6ff394d7
5 changed files with 20 additions and 1 deletions

5
.github/index.pkl vendored
View File

@@ -86,9 +86,12 @@ local benchmarkJob: SimpleGradleJob = new { command = "bench:jmh" }
local gradleCompatibilityJob: SimpleGradleJob = new {
command = ":pkl-gradle:build :pkl-gradle:compatibilityTestReleases"
fetchDepth = 0
}
local buildJavaExecutableJob: BuildJavaExecutableJob = new {}
local buildJavaExecutableJob: BuildJavaExecutableJob = new {
fetchDepth = 0
}
local buildAndTestJobs: PklJobs = new {
...gradleCheckJobs

4
.github/workflows/build.yml generated vendored
View File

@@ -110,6 +110,8 @@ jobs:
LANG: en_US.UTF-8
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
java-version: '21'
@@ -138,6 +140,8 @@ jobs:
LANG: en_US.UTF-8
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
java-version: '21'

4
.github/workflows/main.yml generated vendored
View File

@@ -109,6 +109,8 @@ jobs:
LANG: en_US.UTF-8
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
java-version: '21'
@@ -137,6 +139,8 @@ jobs:
LANG: en_US.UTF-8
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
java-version: '21'

View File

@@ -109,6 +109,8 @@ jobs:
LANG: en_US.UTF-8
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
java-version: '21'
@@ -137,6 +139,8 @@ jobs:
LANG: en_US.UTF-8
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
java-version: '21'

4
.github/workflows/release.yml generated vendored
View File

@@ -109,6 +109,8 @@ jobs:
LANG: en_US.UTF-8
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
java-version: '21'
@@ -137,6 +139,8 @@ jobs:
LANG: en_US.UTF-8
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-java@v5
with:
java-version: '21'