Skip to content

fix: align SDK 10.0.301 and resolve xUnit analyzer build failures #2

fix: align SDK 10.0.301 and resolve xUnit analyzer build failures

fix: align SDK 10.0.301 and resolve xUnit analyzer build failures #2

Workflow file for this run

name: CodeQL
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
schedule:
- cron: '23 3 * * 1'
permissions:
contents: read
security-events: write
concurrency:
group: codeql-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze C#
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: '3.12'
- uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
with:
languages: csharp
build-mode: manual
- uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
dotnet-version: |
10.0.301
8.0.x
- run: python eng/restore.py CodeyaSMS.sln
- run: dotnet build CodeyaSMS.sln -c Release --no-restore
- uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0