Skip to content

Closes #31: Remove Sonar issues #249

Closes #31: Remove Sonar issues

Closes #31: Remove Sonar issues #249

Workflow file for this run

name: .NET Core Tests and CodeQL Security Analysis
on:
[ pull_request ]
jobs:
build:
name: Build and Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
dotnet-quality: preview
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Build and run Unit Tests with dotnet
run: dotnet test --framework net9.0 --configuration Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3