Skip to content

Exclude broken analyzers in build script #150

Exclude broken analyzers in build script

Exclude broken analyzers in build script #150

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
name: Build ${{ matrix.os }}
runs-on: '${{ matrix.os }}'
steps:
- uses: actions/checkout@v5
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.0.x'
dotnet-quality: 'ga'
- name: Restore dependencies
run: dotnet restore
- name: Check code formatting
run: dotnet format --no-restore --verify-no-changes --exclude-diagnostics IDE0051 IDE0052
- name: Build
run: dotnet build --no-restore
- name: Run tests
run: dotnet test --output Detailed --no-build --no-progress --max-parallel-test-modules 1
working-directory: test/TinyLogger.Tests