2024-10-29 23:55:01 +02:00
|
|
|
name: Analysis
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
- dev
|
|
|
|
pull_request:
|
2025-01-09 23:18:57 +02:00
|
|
|
types: [ opened, synchronize, reopened ]
|
2024-10-29 23:55:01 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
sonarcloud:
|
|
|
|
name: SonarCloud
|
2025-01-09 23:40:32 +02:00
|
|
|
runs-on: ubuntu-latest
|
2024-10-29 23:55:01 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2025-01-09 23:40:32 +02:00
|
|
|
- name: SonarQube Scan
|
2025-01-09 23:35:53 +02:00
|
|
|
uses: SonarSource/sonarqube-scan-action@v4.2.1
|
2024-10-29 23:55:01 +02:00
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|