Skip to content

Remove JPA traces with update #6

Remove JPA traces with update

Remove JPA traces with update #6

Workflow file for this run

name: Check Build
on:
workflow_dispatch:
push:
branches: [ develop ]
paths-ignore:
- '**.md'
- '.config/**'
- '.idea/**'
- 'assets/**'
pull_request:
branches: [ develop ]
paths-ignore:
- '**.md'
- '.config/**'
- '.idea/**'
- 'assets/**'
env:
PRIMARY_MAVEN_MODULE: ${{ github.event.repository.name }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [17, 21]
distribution: [temurin]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build with Maven
run: mvn -B clean package
- name: Check for uncommited changes
run: |
if [[ "$(git status --porcelain)" != "" ]]; then
echo ----------------------------------------
echo git status
echo ----------------------------------------
git status
echo ----------------------------------------
echo git diff
echo ----------------------------------------
git diff
echo ----------------------------------------
echo Troubleshooting
echo ----------------------------------------
echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && mvn -B clean package"
exit 1
fi
code-style:
runs-on: ubuntu-latest
strategy:
matrix:
java: [17]
distribution: [temurin]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Run Checkstyle
run: mvn -B checkstyle:check -P checkstyle -T2C