Bump NUnit.Analyzers from 3.6.0 to 3.10.0 #343
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: json-schema | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup .NET 6 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.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 "action@github.com" | |
git config --local user.name "GitHub Action" | |
git diff-index --quiet HEAD || { echo 'The configuration schema has changed. Please update the json schema files by running `dotnet run -- regenjsonschemas` locally and committing the output.'; exit 1; } |