From 521adb284c6cefadef9b837c67d6c03351d992f4 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Tue, 14 Nov 2023 20:52:04 +0100 Subject: [PATCH] Github actions: trying to run checkstyle as a separate job --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6c85adaf..ee9ff7e33 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,9 +37,21 @@ jobs: fi done echo "${args[@]}" - ./gradlew "${args[@]}" build + ./gradlew "${args[@]}" test - uses: actions/upload-artifact@v3 if: failure() with: name: "test-reports-${{ matrix.platform }}" path: "tests/build/reports/tests/test" + checkstyle: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v3 + with: + java-version: 11 + distribution: adopt + - uses: gradle/gradle-build-action@v2 + - run: | + ./gradlew build -x test \ No newline at end of file