Skip to content

Application strategies part1 #1034

Application strategies part1

Application strategies part1 #1034

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