Skip to content

Install .NET 9 in CodeQL analysis workflow #3891

Install .NET 9 in CodeQL analysis workflow

Install .NET 9 in CodeQL analysis workflow #3891

Workflow file for this run

name: CodeQL Analysis
on:
#push:
pull_request:
#schedule:
# - cron: '0 8 1 * *'
jobs:
analyze:
name: CodeQL Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout repository
id: checkout_repo
uses: actions/checkout@v4
- name: Install .NET 9
uses: actions/setup-dotnet@v5
with:
dotnet-version: 9.0.x
- name: Initialize CodeQL
id: init_codeql
uses: github/codeql-action/init@v3
with:
queries: security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
id: analyze_codeql
uses: github/codeql-action/analyze@v3
# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)