Skip to content

CodeQL

CodeQL #3

name: "CodeQL"
on:
push:
branches: [ v5.4, v6.0 ]
schedule:
- cron: '26 4 * * 5'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0'
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- name: Build
run: |
dotnet build -c Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1