From c972937ad6702542a7499b6a7cc6936aae947639 Mon Sep 17 00:00:00 2001 From: Max Cao Date: Fri, 21 Oct 2022 15:25:54 -0400 Subject: [PATCH] remove save cache saves, revert itest testing, add names to plugin checks --- .github/workflows/ci.yaml | 12 ++++++------ src/test/java/itest/ApiListingIT.java | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 639e055a51..74cc325a1d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -128,10 +128,8 @@ jobs: - uses: skjolber/maven-cache-github-action@v1 with: step: restore - - run: mvn spotless:check - - uses: skjolber/maven-cache-github-action@v1 - with: - step: save + - name: Run spotless + run: mvn spotless:check spotbugs: runs-on: ubuntu-latest @@ -148,7 +146,8 @@ jobs: with: java-version: '17' distribution: 'adopt' - - run: mvn compile spotbugs:check + - name: Run spotbugs + run: mvn compile spotbugs:check shellcheck: runs-on: ubuntu-latest @@ -158,7 +157,8 @@ jobs: - uses: skjolber/maven-cache-github-action@v1 with: step: restore - - run: mvn shellcheck:check + - name: Run shellcheck + run: mvn shellcheck:check push-to-quay: runs-on: ubuntu-latest diff --git a/src/test/java/itest/ApiListingIT.java b/src/test/java/itest/ApiListingIT.java index c4d5fb0b03..9572d7272f 100644 --- a/src/test/java/itest/ApiListingIT.java +++ b/src/test/java/itest/ApiListingIT.java @@ -94,6 +94,6 @@ void shouldIncludeHttpApiMdAndNonEmptyEndpoints() throws Exception { .getJsonObject("result") .getJsonArray("endpoints") .size(), - Matchers.greaterThan(1000)); + Matchers.greaterThan(0)); } }