diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c13c064..58c14e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,9 @@ jobs: - name: Compile run: ./gradlew compileJava + - name: Check formatting + run: ./gradlew spotlessCheck + test: needs: [ compile ] runs-on: ubuntu-latest diff --git a/src/test/java/com/schematic/api/datastream/WasmRulesEngineClockTest.java b/src/test/java/com/schematic/api/datastream/WasmRulesEngineClockTest.java index 68bdc11..7959596 100644 --- a/src/test/java/com/schematic/api/datastream/WasmRulesEngineClockTest.java +++ b/src/test/java/com/schematic/api/datastream/WasmRulesEngineClockTest.java @@ -77,7 +77,6 @@ void billingMetricOverride_populatesResetAt() throws Exception { // setCurrentTimeMillis lets the engine compute the next reset boundary. assertTrue( - result.getFeatureUsageResetAt().isPresent(), - "reset-at should be computed from the injected host time"); + result.getFeatureUsageResetAt().isPresent(), "reset-at should be computed from the injected host time"); } }