mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-02 21:34:11 -08:00
Github actions: trying to run checkstyle as a separate job
This commit is contained in:
parent
f5f8135a42
commit
521adb284c
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -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
|
Loading…
Reference in New Issue
Block a user