Skip to content

Merge pull request #501 from MangoInstantMessenger/k8s-deploy #192

Merge pull request #501 from MangoInstantMessenger/k8s-deploy

Merge pull request #501 from MangoInstantMessenger/k8s-deploy #192

Workflow file for this run

name: Quodana Analysis
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
workflow_dispatch:
jobs:
quodana-scan:
name: Quodana Analysis
runs-on: ${{ matrix.environment }}
strategy:
matrix:
environment:
- ubuntu-latest
env:
DOTNET_NOLOGO: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages
steps:
- name: Fetch Sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET 6.0 SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: NuGet Cache
uses: actions/cache@v3
with:
path: ${{ env.NUGET_PACKAGES }}
key: ${{ runner.os }}.nuget.${{ hashFiles('**/*.csproj') }}
- name: Restore Nuget Packages
run: dotnet restore
- name: Build .NET Project
run: |
dotnet build --no-restore /p:ContinuousIntegrationBuild=true --configuration Release
- name: Qodana Scan
uses: JetBrains/[email protected]
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
continue-on-error: true