Create a OneBranch pipeline YML that uses a IES pipeline template #770
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: dotnet format | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
check-format: | |
runs-on: windows-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Install format tool | |
run: dotnet tool install -g dotnet-format | |
- name: Run dotnet format | |
run: dotnet-format --folder --check |