Skip to content

V4.2.0

V4.2.0 #243

Workflow file for this run

name: "CodeQL"
on: [push, pull_request]
env:
DOTNET_VERSION: 7.0.x
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@v3
- name: Use .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- 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