mirror of
https://github.com/microsoft/semantic-kernel.git
synced 2026-10-12 02:19:06 +00:00
Create main.yml
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user