get rid of 'reference not set to an instance of an object' error, which appears when context is null #1226
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: PR Check | |
on: | |
pull_request: | |
branches: [ main, release/2.x, 3.x ] | |
env: | |
DOTNET_NOLOGO: true | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
jobs: | |
windows: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Test | |
run: dotnet test --configuration Release --logger GitHubActions | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Test | |
run: dotnet test --configuration Release --logger GitHubActions | |
macos: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Test | |
run: dotnet test --configuration Release --logger GitHubActions |