Skip to content

Revert " Upgrade from .NET 4.6.1 to 4.8.1 (2)" #37

Revert " Upgrade from .NET 4.6.1 to 4.8.1 (2)"

Revert " Upgrade from .NET 4.6.1 to 4.8.1 (2)" #37

Workflow file for this run

name: Solid - Build and Test
on:
push:
jobs:
build-and-test:
name: Build and run tests
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Cache NuGet packages
id: cache-nuget
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Restore
run: dotnet restore src/solid.sln
- name: Build
run: dotnet build src/solid.sln --no-restore
- name: Run NUnit Tests
run: dotnet test output/net461/*Tests.dll --filter "TestCategory != SkipOnCI" --no-build --logger "trx;LogFileName=test-results.trx"
- name: Test Report
uses: dorny/test-reporter@v1
if: always()
with:
name: NUnit Tests
path: '**/test-results.trx'
reporter: dotnet-trx