Github actions: trying to run checkstyle as a separate job

This commit is contained in:
Alexey Andreev 2023-11-14 20:52:04 +01:00
parent f5f8135a42
commit 521adb284c

View File

@ -37,9 +37,21 @@ jobs:
fi fi
done done
echo "${args[@]}" echo "${args[@]}"
./gradlew "${args[@]}" build ./gradlew "${args[@]}" test
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
if: failure() if: failure()
with: with:
name: "test-reports-${{ matrix.platform }}" name: "test-reports-${{ matrix.platform }}"
path: "tests/build/reports/tests/test" 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