Show inner exception for userspace errors if available #27
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: Format .NET code | |
on: | |
push: | |
branches-ignore: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
check-format: | |
runs-on: windows-latest | |
steps: | |
- name: Setup .NET Core | |
uses: actions/[email protected] | |
with: | |
dotnet-version: '5.0.x' | |
- name: Install dotnet-format tool | |
run: dotnet tool install -g dotnet-format | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Run dotnet format | |
run: dotnet format '.\Source' --folder | |
- name: Commit | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply formatting fixes |