Improve tests, correctly trigger warnings, and fix output markdown format #104
Workflow file for this run
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 and test | |
on: [push, pull_request] | |
jobs: | |
build: | |
timeout-minutes: 15 # we have a locking issue, so cap the runs at ~15m to account for varying build times, etc | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
- name: Restore | |
run: dotnet restore | |
- name: Run Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test --verbosity normal | |
- name: Pack | |
run: dotnet pack --no-restore | |
- name: Upload a Build Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
path: src/**/bin/Debug/*.nupkg |