Skip to content

Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 #157

Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0

Bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 #157

Workflow file for this run

name: code analysis
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ["csharp"]
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: "7.0.x"
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Restore dependencies
run: dotnet restore --verbosity normal
- name: Build
run: dotnet build --no-restore /p:UseSharedCompilation=false
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3