feat: initial commit of Knowledge Graph application #1
This file contains hidden or 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: Java Code Quality | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Build and verify with Maven | |
| run: mvn -B verify | |
| - name: Upload analysis results | |
| if: always() | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: quality-reports | |
| path: | | |
| target/site/ | |
| target/checkstyle-result.xml | |
| target/pmd.xml | |
| target/spotbugsXml.xml | |
| target/jacoco.xml |