Skip to content

Bump actions/setup-dotnet from 5 to 6 #53

Bump actions/setup-dotnet from 5 to 6

Bump actions/setup-dotnet from 5 to 6 #53

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "0 6 * * 1"
permissions:
contents: read
security-events: write
jobs:
analyze:
name: Analyze (C#)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
dotnet-version: |
8.0.x
9.0.x
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: csharp
- name: Build
run: dotnet build TestingBot.Api.sln -c Release
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v4