fixed a bug where multiple threads tried accessing the db context #257
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: .NET | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.x | |
- name: Install Dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Debug --no-restore | |
- name: Test | |
run: dotnet test --no-restore --verbosity normal | |
- name: Check Formatting | |
run: dotnet format --verify-no-changes | |
- name: Upload Artifact | |
uses: actions/[email protected] | |
with: | |
name: Build ${{ matrix.os }} | |
path: "**/bin/Debug/net8.0" |