Skip to content

Bump MSTest.Sdk to 4.2.3 in global.json and update `Microsoft.Testi… #59

Bump MSTest.Sdk to 4.2.3 in global.json and update `Microsoft.Testi…

Bump MSTest.Sdk to 4.2.3 in global.json and update `Microsoft.Testi… #59

Workflow file for this run

name: "CodeQL Advanced"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '20 0 * * 3'
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: csharp
build-mode: manual
dotnet-version: '10.0.x'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
if: matrix.language == 'csharp'
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
- name: Build C# Solution
if: matrix.language == 'csharp'
run: |
dotnet restore
dotnet build --configuration Release --no-restore
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"