Skip to content

Potential fix for code scanning alert no. 83: Poor error handling: empty catch block #137

Potential fix for code scanning alert no. 83: Poor error handling: empty catch block

Potential fix for code scanning alert no. 83: Poor error handling: empty catch block #137

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches: [ main ]
paths:
- src/**
- tests/**
- samples/**
- .github/workflows/**
pull_request:
paths:
- src/**
- tests/**
- samples/**
- .github/workflows/**
jobs:
build-and-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
- name: Setup .NET 10 (minimum required)
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Debug
- name: Test
run: dotnet test --no-build -c Debug