Renovate Bot
fbc936e2bb
Some checks failed
Publish Docker image / Push Docker image to Forgejo Packages (push) Failing after 1m17s
31 lines
778 B
YAML
31 lines
778 B
YAML
name: Pull request workflow
|
|
on: pull_request
|
|
|
|
permissions:
|
|
statuses: write
|
|
checks: write
|
|
|
|
jobs:
|
|
test:
|
|
name: Build and Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: 17
|
|
- name: Validate Gradle Wrapper
|
|
uses: gradle/wrapper-validation-action@v1
|
|
- name: Build with Gradle
|
|
uses: gradle/gradle-build-action@v3
|
|
with:
|
|
arguments: --stacktrace build
|
|
- name: Publish JUnit Results
|
|
uses: dorny/test-reporter@v1
|
|
if: always()
|
|
with:
|
|
name: Unit Tests
|
|
path: "*/build/test-results/test/*.xml"
|
|
reporter: java-junit
|
|
fail-on-error: true
|