Skip to content

Commit 635669d

Browse files
ci: fix
1 parent 3dad458 commit 635669d

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/pr-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
repository: ${{github.event.pull_request.head.repo.full_name}}
2020
fetch-depth: 0
2121

22+
- uses: actions/setup-java@v4
23+
with:
24+
distribution: 'temurin'
25+
java-version: '11'
26+
2227
- name: Build with Gradle
2328
uses: hypertrace/github-actions/gradle@main
2429
with:

.github/workflows/pr-test.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717

18+
- uses: actions/setup-java@v4
19+
with:
20+
distribution: 'temurin'
21+
java-version: '11'
22+
1823
- name: Unit test
1924
uses: hypertrace/github-actions/gradle@main
2025
with:
@@ -48,6 +53,14 @@ jobs:
4853
dependency-check:
4954
runs-on: ubuntu-24.04
5055
steps:
56+
- name: Check out code
57+
uses: actions/checkout@v4
58+
with:
59+
fetch-depth: 0
60+
- uses: actions/setup-java@v4
61+
with:
62+
distribution: 'temurin'
63+
java-version: '11'
5164
- name: Dependency Check
5265
uses: hypertrace/github-actions/dependency-check@main
5366
with:

0 commit comments

Comments
 (0)