From 1969ff9473d4d02b25caffe7380cc5fb7225ffa8 Mon Sep 17 00:00:00 2001 From: Hyeonseo Yang Date: Sat, 28 Dec 2024 19:46:43 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix=20java=20version=20for=20for?= =?UTF-8?q?matter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/java-format.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/java-format.yml b/.github/workflows/java-format.yml index 11281615..396a6756 100644 --- a/.github/workflows/java-format.yml +++ b/.github/workflows/java-format.yml @@ -10,9 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + + - name: Set up JDK + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' + - name: Install google-java-format run: | curl -Lo google-java-format.jar https://github.com/google/google-java-format/releases/download/v1.25.2/google-java-format-1.25.2-all-deps.jar + - name: Check formatting run: | java -jar google-java-format.jar --dry-run --set-exit-if-changed $(find . -name '*.java')