K8s deploy #193
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |