Skip to content

CI-Analysis

CI-Analysis #3

Workflow file for this run

name: CI-Analysis
on:
workflow_dispatch:
workflow_run:
workflows: [ "CI" ]
types:
- completed
jobs:
static-code-analysis:
name: "Static code analysis"
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
env:
REPORTGENERATOR_LICENSE: ${{ secrets.REPORTGENERATOR_LICENSE }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
9.0.x
- name: Run sonarcloud analysis
run: ./build.sh CodeAnalysis