twigs/.forgejo/workflows/pull-request.yml
Renovate Bot 811d2b404b
Some checks failed
Pull request workflow / Build and Test (pull_request) Failing after 25s
Update gradle/actions action to v4
2024-10-23 05:04:28 +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@v4
- name: Build with Gradle
uses: https://git.wbrawner.com/gradle/actions/setup-gradle@v4
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