Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09caeca

Browse files
fix: update lint formatting to use JDK 17 so axel-op/googlejavaformat… (GoogleCloudPlatform#302)
* fix: update lint formatting to use JDK 17 so axel-op/googlejavaformat-action works
1 parent d93ccf3 commit 09caeca

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/lint.yaml

Lines changed: 6 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)
@@ -43,6 +43,11 @@ jobs:
4343
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
4444

4545
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 # v2 minimum required
46+
- name: Set up JDK
47+
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
48+
with:
49+
java-version: 17.x
50+
distribution: temurin
4651
- name: Run formatter
4752
id: formatter
4853
uses: axel-op/googlejavaformat-action@dbff853fb823671ec5781365233bf86543b13215 # v3

0 commit comments

Comments
 (0)