Skip to content

Commit

Permalink
build: update samples/stylecheck to use java 11 to match new style gu…
Browse files Browse the repository at this point in the history
…ide as indicated in: https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md#java-version (#3516)

This fixes the samples/stylecheck in PR#3487
  • Loading branch information
PhongChuong authored Oct 3, 2024
1 parent 5344e9b commit dd087e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/samples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
java-version: 11
- name: Run checkstyle
run: mvn -P lint --quiet --batch-mode checkstyle:check
working-directory: samples/snippets

0 comments on commit dd087e8

Please sign in to comment.