Skip to content
Open
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
3 changes: 2 additions & 1 deletion .github/workflows/check-templates-consistency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ jobs:
check-template-consistency:
uses: fingerprintjs/dx-team-toolkit/.github/workflows/check-template-consistency.yml@v1
with:
generate-command: 'bash ./scripts/generate.sh'
# Gradle 8 can't run on the runner's default JDK 25, use the preinstalled JDK 17
generate-command: 'JAVA_HOME=$JAVA_HOME_17_X64 bash ./scripts/generate.sh'
7 changes: 7 additions & 0 deletions .github/workflows/functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ jobs:
- uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.head.sha }}

- uses: actions/setup-java@v6
with:
distribution: temurin
# Gradle 8 can't run on the runner's default JDK 25
java-version: 17

# Gradle will detect the JVM installation from the ubuntu-latest image and use it
- run: ./gradlew runFunctionalTests -PjavaVersion=${{ matrix.java }} --stacktrace
env:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
name: Check source code formatting
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v6
with:
distribution: temurin
# Gradle 8 can't run on the runner's default JDK 25
java-version: 17
- run: ./gradlew :sdk:checkFormat :examples:checkFormat --continue

test:
Expand All @@ -22,6 +27,11 @@ jobs:

steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v6
with:
distribution: temurin
# Gradle 8 can't run on the runner's default JDK 25
java-version: 17
# Gradle will detect the JVM installation from the ubuntu-latest image and use it
# includes execution of unit tests
- run: ./gradlew build -PjavaVersion=${{ matrix.java }} --stacktrace
Expand All @@ -31,6 +41,10 @@ jobs:
name: Jitpack build smoke test
steps:
- uses: actions/checkout@v7
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: 11
- run: ./gradlew clean build -PjavaVersion=11 --stacktrace
env:
JITPACK: true
Expand Down
Loading