Skip to content

issues/100 Composition #198

issues/100 Composition

issues/100 Composition #198

Workflow file for this run

name: verify-pr
on:
pull_request:
push:
branches:
- main
jobs:
spotless-check:
name: 'spotless:check'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '17'
- id: spotless-check
run: './mvnw -B -ntp spotless:check'
- name: Comment on PR
uses: peter-evans/commit-comment@v1
if: failure()
with:
body: |
`./mvnw spotless:check` failed. Please run `./mvnw spotless:apply` and update your PR.
mvn-verify:
name: 'Run tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: '17'
- run: './mvnw -B -ntp verify'