one more freaking benchmark #298
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: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [windows-2022, macos-12, ubuntu-22.04] | |
dotnet: [6.0.200] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet }} | |
- name: MacOS workaround | |
if: runner.os == 'macOS' | |
run: | | |
# https://github.com/actions/runner-images/issues/5768#issuecomment-1162684820 | |
rm -rf ~/.config/NuGet/nuGet.config | |
dotnet nuget list source | |
- name: Restore tools | |
run: dotnet tool restore | |
- name: Run Test | |
run: dotnet run -- Test |