Create main.yml

This commit is contained in:
Shawn Callegari
2023-05-19 23:07:02 -07:00
committed by GitHub
parent 780284e6e0
commit 253b230da1
+23
View File
@@ -0,0 +1,23 @@
name: dotnet-format-2
on:
pull_request:
branches: [ "main", "feature*" ]
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"