Skip to content

chore: [SourceGenerators] Gate optimization on partial types; emit up… #240

chore: [SourceGenerators] Gate optimization on partial types; emit up…

chore: [SourceGenerators] Gate optimization on partial types; emit up… #240

name: "CodeQL"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '0 12 * * 0'
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.0.x
9.0.x
cache: true
cache-dependency-path: |
**/packages.lock.json
global.json
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: csharp
- name: Restore
run: dotnet restore TinyBDD.sln --use-lock-file
- name: Build
run: dotnet build TinyBDD.sln --configuration Release --no-restore
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4