MongoTestBase: add proper client cleanup, some refactoring #447
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: json-schema | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- uses: actions/checkout@v2 | |
- name: Regenerate core config json schemas | |
run: | | |
cd TPP.Core | |
dotnet run -- regenjsonschemas | |
git add config.schema.json | |
git add config.runmode.schema.json | |
git add config.matchmode.schema.json | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
(git commit -m "update json schema" && git push) || echo "no schema changes" |