Simply logic in the stage info. #21
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: Format check on pull request | |
on: pull_request | |
jobs: | |
dotnet-format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Add dotnet-format problem matcher | |
uses: xt0rted/dotnet-format-problem-matcher@v1 | |
- name: Restore dotnet tools | |
uses: xt0rted/dotnet-tool-restore@v1 | |
- name: Run dotnet format | |
uses: xt0rted/dotnet-format@v1 | |
with: | |
only-changed-files: true |