twigs/.forgejo/workflows/pull-request.yml
William Brawner d391c60f91
Some checks failed
Enable Auto Merge / auto-merge (pull_request) Failing after 3s
Pull request workflow / Build and Test (pull_request) Successful in 5m44s
Publish Docker image / Push Docker image to Forgejo Packages (push) Failing after 17s
Remove dependabot config and add Forgejo workflows
2024-07-06 20:48:44 -06: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@v3
- 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