Skip to content

Update DurableTask (#1104) #2621

Update DurableTask (#1104)

Update DurableTask (#1104) #2621

name: CodeQL
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * 0'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install .NET SDK
uses: actions/setup-dotnet@v4
with:
global-json-file: 'global.json'
dotnet-version: |
6.x
8.x
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: 'csharp'
- name: dotnet restore
shell: bash
run: dotnet restore
- name: dotnet build
continue-on-error: true
shell: bash
run: dotnet build -c Release -p:ContinuousIntegrationBuild=true
- name: Perform CodeQL Analysis
continue-on-error: true
uses: github/codeql-action/analyze@v3