Skip to content

Bump Microsoft.SourceLink.GitHub and OpenAI #8

Bump Microsoft.SourceLink.GitHub and OpenAI

Bump Microsoft.SourceLink.GitHub and OpenAI #8

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 4 * * 1'
workflow_dispatch:
permissions:
contents: read
security-events: write
env:
DOTNET_VERSION: '10.0.x'
jobs:
analyze:
name: Analyze C#
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: csharp
- name: Restore
run: dotnet restore ManagedCode.FileContext.slnx
- name: Build
run: dotnet build ManagedCode.FileContext.slnx --configuration Release --no-restore
- name: Analyze
uses: github/codeql-action/analyze@v4