From d122e4254ff7204e3100a549df0e8e39f898b783 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Sun, 13 Nov 2022 17:07:26 -0500 Subject: [PATCH] [ci] Run spotlessApply after wpiformat in comment command (#4623) --- .github/workflows/comment-command.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/comment-command.yml b/.github/workflows/comment-command.yml index 1b5e689055..9464fb7966 100644 --- a/.github/workflows/comment-command.yml +++ b/.github/workflows/comment-command.yml @@ -37,6 +37,11 @@ jobs: uses: actions/setup-python@v2 with: python-version: 3.8 + - name: Setup Java + uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: 11 - name: Install clang-format run: | wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - @@ -47,6 +52,8 @@ jobs: run: pip3 install wpiformat - name: Run wpiformat run: wpiformat -clang 14 + - name: Run spotlessApply + run: ./gradlew spotlessApply - name: Commit run: | # Set credentials