From 9154b36b1d0f95bb4aa176822bf8e5876ffaca6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nivaldo=20Bondan=C3=A7a?= Date: Wed, 28 Aug 2024 08:27:49 -0700 Subject: [PATCH] Run spotless as part of our build checks Reviewed By: cortinico Differential Revision: D61911566 fbshipit-source-id: c9c7c07a68db786982f7993d46176d75d5d0a77e --- .github/workflows/build_and_test.yml | 2 +- smoke_tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 7abcbf30..b5e879ad 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -26,7 +26,7 @@ jobs: java-version: ${{ matrix.java }} distribution: zulu - name: Build ktfmt - run: mvn -B install --file pom.xml + run: mvn -B install --file pom.xml spotless:check - name: Build ktfmt_idea_plugin run: | pushd ktfmt_idea_plugin diff --git a/smoke_tests.sh b/smoke_tests.sh index 6782685b..25e35a10 100755 --- a/smoke_tests.sh +++ b/smoke_tests.sh @@ -23,7 +23,7 @@ ROOT_DIR=$(dirname "$SCRIPT") echo "Testing ktfmt core library" echo cd "$ROOT_DIR" -mvn clean install +mvn install spotless:check echo echo "Testing ktfmt IDEA plugin"