Skip to content

Fix remaining analyzer warnings. #44

Fix remaining analyzer warnings.

Fix remaining analyzer warnings. #44

name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
env:
solutionFile: src/AgiPlayer.sln
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Clean
run: dotnet clean ${{env.solutionFile}} --configuration Release && dotnet nuget locals all --clear
- name: Build
run: dotnet build ${{env.solutionFile}} --configuration Release
- name: Test
run: dotnet test ${{env.solutionFile}} --no-restore --verbosity normal