Skip to content

chore(deps): update github/codeql-action action to v3 #2132

chore(deps): update github/codeql-action action to v3

chore(deps): update github/codeql-action action to v3 #2132

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '39 18 * * 3'
merge_group:
workflow_dispatch:
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: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Set up dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.100
7.0.404
6.x
- name: Build
run: |
dotnet build -c Release -v minimal --no-self-contained DisCatSharp.sln
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3