Skip to content

Merge pull request #119 from FRACerqueira/v4.2.0 #255

Merge pull request #119 from FRACerqueira/v4.2.0

Merge pull request #119 from FRACerqueira/v4.2.0 #255

name: "CodeQL"
on: [push, pull_request]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x' # SDK Version to use.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
config-file: ./.github/codeql-config.yml
- name: Build NuGet Package
run: dotnet build ./Src/PromptPlus.csproj -c Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2