Skip to content

csharp test

csharp test #4

name: "CodeQL Advanced - Csharp"
on:
pull_request:
branches: [ "main" ]
push:
branches:
- main
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: 'ubuntu-latest'
permissions:
actions: write
contents: read
packages: read
security-events: write
strategy:
fail-fast: false
matrix:
include:
- language: csharp
build-mode: none
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: csharp
queries: security-extended
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"