Skip to content

Commit 36eefc6

Browse files
fix: update lint to use JDK 17 so axel-op/googlejavaformat-action works
1 parent 7c180fe commit 36eefc6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/lint.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up JDK
2525
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
2626
with:
27-
java-version: 17.x
27+
java-version: 11.x
2828
distribution: temurin
2929
- name: Build API with Maven
3030
run: (cd functions-framework-api/ && mvn install)
@@ -48,6 +48,7 @@ jobs:
4848
uses: axel-op/googlejavaformat-action@dbff853fb823671ec5781365233bf86543b13215 # v3
4949
with:
5050
args: "--replace"
51+
java-version: 17.x
5152
skip-commit: true
5253
- name: Print diffs
5354
run: git --no-pager diff --exit-code

0 commit comments

Comments
 (0)