Skip to content

corrected .net version #3

corrected .net version

corrected .net version #3

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '29 17 * * 0'
workflow_dispatch:
jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
security-events: write
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: '5.1'
- name: Build with dotnet
run: dotnet build YourSolution.sln --configuration Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3