twigs/.github/workflows/pull-request.yml
Renovate Bot fbc936e2bb
Some checks failed
Publish Docker image / Push Docker image to Forgejo Packages (push) Failing after 1m17s
Update gradle/gradle-build-action action to v3
2024-07-07 09:12:53 +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@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