Skip to content

Commit

Permalink
fix: update lint formatting to use JDK 17 so axel-op/googlejavaformat… (
Browse files Browse the repository at this point in the history
#302)

* fix: update lint formatting to use JDK 17 so axel-op/googlejavaformat-action works
  • Loading branch information
HKWinterhalter authored Nov 22, 2024
1 parent d93ccf3 commit 09caeca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: 17.x
java-version: 11.x
distribution: temurin
- name: Build API with Maven
run: (cd functions-framework-api/ && mvn install)
Expand All @@ -43,6 +43,11 @@ jobs:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 # v2 minimum required
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: 17.x
distribution: temurin
- name: Run formatter
id: formatter
uses: axel-op/googlejavaformat-action@dbff853fb823671ec5781365233bf86543b13215 # v3
Expand Down

0 comments on commit 09caeca

Please sign in to comment.