Update format step jdk too, let's test with 11 if it works

This commit is contained in:
M M Arif
2026-01-02 21:28:37 +05:00
parent c34891bfaa
commit 0444c2dba2
+3 -3
View File
@@ -12,7 +12,7 @@ steps:
# Generate code and docs from official swagger template
generate:
image: eclipse-temurin:8-jdk
image: eclipse-temurin:11-jdk
commands:
- >
java
@@ -30,7 +30,7 @@ steps:
# Format generated and custom code according to the Google Java Style Guide
format:
image: openjdk:11
image: eclipse-temurin:11-jdk
commands:
- java -jar google-java-format.jar --replace $(find ./generated/ -name "*.java")
- java -jar google-java-format.jar --replace $(find ./custom/ -name "*.java")
@@ -51,7 +51,7 @@ steps:
# Check if generated code can be compiled at language level 8
build:
image: eclipse-temurin:8-jdk
image: eclipse-temurin:11-jdk
commands:
- ./gradlew clean assemble
when: