twigs/.github/workflows/pull-request.yml
Renovate Bot d1ef0bfb1c
Some checks failed
Pull request workflow / Build and Test (pull_request) Successful in 3m27s
Publish Docker image / Push Docker image to Forgejo Packages (push) Has been cancelled
Update gradle/wrapper-validation-action action to v3
2024-07-07 10:01:54 +00:00

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@v3
- 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