feat: Add dx to catch ConfigureAwait(false) #185
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: | |
push: | |
branches: [ main ] | |
paths: | |
- '**.cs' | |
- '.editorconfig' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '**.cs' | |
- '.editorconfig' | |
jobs: | |
check-format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Setup .NET Core 7.0 | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
- name: Install format tool | |
run: dotnet tool install -g dotnet-format | |
- name: dotnet format | |
run: dotnet-format --folder --check |