Skip to content

7645 when handing over shift fund to another staff member it should be updated in drawer #284

7645 when handing over shift fund to another staff member it should be updated in drawer

7645 when handing over shift fund to another staff member it should be updated in drawer #284

name: PR Validator
on:
pull_request:
types: [ opened, synchronize, reopened ]
branches:
- development
jobs:
validate-jdbc-data-sources:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Verify JDBC Data Sources in persistence.xml
run: |
grep -q '<jta-data-source>${JDBC_DATASOURCE}</jta-data-source>' src/main/resources/META-INF/persistence.xml
grep -q '<jta-data-source>${JDBC_AUDIT_DATASOURCE}</jta-data-source>' src/main/resources/META-INF/persistence.xml
validate-compilation:
needs: validate-jdbc-data-sources
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Compile with Maven
run: mvn clean compile