Skip to content

Set cookie properly and optimize resource loading. #485

Set cookie properly and optimize resource loading.

Set cookie properly and optimize resource loading. #485

Workflow file for this run

name: SonarQube Analysis
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
name: SonarQube Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up Zulu JDK 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
cache: 'maven'
- name: Build and analyze
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
mvn clean verify -fn -Psonar-report
mvn sonar:sonar -Psonar-report -Dsonar.projectKey=MichiBaum_Microservices