Wrapping up interceptors, fixing typos, removing Moq #524
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 PRs | |
on: [pull_request] | |
permissions: | |
contents: read | |
jobs: | |
test-windows: | |
runs-on: windows-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
- | |
name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '8.0' | |
dotnet-quality: 'preview' | |
- | |
name: Run tests | |
run: dotnet test | |
test-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
- | |
name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '8.0' | |
dotnet-quality: 'preview' | |
- | |
name: Run tests | |
run: dotnet test | |
- | |
name: Publish test results | |
uses: EnricoMi/publish-unit-test-result-action@v2 | |
if: always() | |
with: | |
files: | | |
test-results/**/*.xml | |
test-results/**/*.trx | |
test-results/**/*.json | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v3 | |
- | |
name: Build docs | |
run: | | |
yarn install | |
yarn docs:build |