Skip to content

CodeQL

CodeQL #252

Workflow file for this run

name: "CodeQL"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
- cron: "42 4 * * 6"
jobs:
analyze:
name: Analyze
runs-on: "ubuntu-latest"
permissions:
security-events: write
actions: read
contents: read
strategy:
fail-fast: false
matrix:
include:
- language: csharp
build-mode: manual
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'Building the project using dotnet commands'
dotnet restore Geodatenbezug/Geodatenbezug.csproj
dotnet build Geodatenbezug/Geodatenbezug.csproj --no-restore
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3