Skip to content

Commit

Permalink
Github actions: trying to run checkstyle as a separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
konsoletyper committed Nov 14, 2023
1 parent f5f8135 commit 521adb2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 521adb2

Please sign in to comment.