feature and refactor: add lombok, introduce package structure and add interface to configure dependent resources #277
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify Pull Request | |
env: | |
MAVEN_ARGS: -V -ntp -e | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 17 ] | |
distribution: [ temurin ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Java and Maven | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.distribution }} | |
java-version: ${{ matrix.java }} | |
cache: 'maven' | |
- name: Check code format | |
run: | | |
./mvnw ${MAVEN_ARGS} spotless:check --file pom.xml | |
- name: Run unit tests | |
run: ./mvnw ${MAVEN_ARGS} -B test --file pom.xml |