Add default constructor to BackReference to allow XML serialization #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
etwlib_Unit_Tests: | |
runs-on: windows-latest | |
steps: | |
# setup .NET using setup-dotnet action | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Setup NuGet | |
uses: nuget/setup-nuget@v2 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.nuget/packages | |
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-nuget- | |
- name: Restore nuget packages | |
run: nuget restore etwlib.sln | |
- name: Build Solution | |
run: | | |
msbuild.exe etwlib.sln /nologo /nr:false /p:platform="Any CPU" /p:configuration="Release" | |
- name: Test | |
run: dotnet test --no-restore --verbosity normal |