Skip to content

Update gradle/actions action to v4 (#235) #550

Update gradle/actions action to v4 (#235)

Update gradle/actions action to v4 (#235) #550

Workflow file for this run

name: PR Checks
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
tests:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run tests
run: ./gradlew test functionalTest
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure() # always run even if the previous step fails
with:
report_paths: '**/build/test-results/test/TEST-*.xml'
publish:
name: Check that the publish plugin works
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Check that the publish plugin works
run: ./gradlew publishToMavenLocal
staticAnalysis:
name: Run static analysis
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run static analysis
run: ./gradlew spotlessCheck