supporting ordering of results in feature history #957
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: "Build backend" | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'backend/**' | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ main ] | |
paths: | |
- 'backend/**' | |
permissions: | |
# required for all workflows | |
security-events: write | |
jobs: | |
analyze: | |
name: Build & Analyze | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
language: [ 'java' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: java | |
# Initializes the CodeQL tools for scanning. | |
- name: Build dependencies | |
run: cd backend && mvn -f pom-first.xml clean install -Dfindbugs.skip -Dcheckstyle.skip -Dpmd.skip=true -Denforcer.skip -Dmaven.javadoc.skip -DskipTests -Dmaven.test.skip.exec -Dlicense.skip=true -Drat.skip=true && cd .. && mvn clean install -Dfindbugs.skip -Dcheckstyle.skip -Dpmd.skip=true -Denforcer.skip -Dmaven.javadoc.skip -DskipTests -Dmaven.test.skip.exec -Dlicense.skip=true -Drat.skip=true | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |