twigs/.forgejo/workflows/pull-request.yml
Renovate Bot 0b26bf9240
Some checks failed
Publish Docker image / Push Docker image to Forgejo Packages (push) Failing after 1m17s
Update actions/checkout action to v4
2024-07-07 05:12:26 +00:00

26 lines
792 B
YAML

name: Pull request workflow
on: pull_request
jobs:
test:
name: Build and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: https://git.wbrawner.com/actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: Validate Gradle Wrapper
uses: https://git.wbrawner.com/gradle/actions/wrapper-validation@v3
- name: Build with Gradle
uses: https://git.wbrawner.com/gradle/actions/setup-gradle@v3
with:
arguments: --stacktrace check
- name: Publish JUnit Results
uses: actions/upload-artifact@v3
if: always()
with:
name: Unit Test Results
path: "*/build/test-results/test/*.xml"
if-no-files-found: error