Skip to content

Commit

Permalink
Add Github Action for dotnet-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeage committed Mar 30, 2021
1 parent b877c7e commit 7ccf9fd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/dotnet-format.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check dotnet-format syntax
on: push
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:
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7ccf9fd

Please sign in to comment.