28 lines
645 B
YAML
28 lines
645 B
YAML
name: verify
|
|
on:
|
|
push:
|
|
pull_request:
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
verify:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: '21'
|
|
cache: maven
|
|
- name: Verify
|
|
run: sh ./mvnw --batch-mode --no-transfer-progress clean verify
|
|
- name: Test reports
|
|
if: always()
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: test-reports
|
|
path: |
|
|
target/surefire-reports/
|
|
target/failsafe-reports/
|
|
if-no-files-found: ignore
|