Skip to content

Commit

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

This fixes the samples/stylecheck in PR#2649
  • Loading branch information
PhongChuong authored Oct 3, 2024
1 parent 5dc24c2 commit aaf1c2f
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 aaf1c2f

Please sign in to comment.