10593 iou should support for supplier payments #121
Workflow file for this run
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: 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 |