Nit workflow fix to keep CI greener (#3548)

This commit is contained in:
Cijo Thomas 2022-08-04 16:56:40 -07:00 committed by GitHub
parent aba6eafb8f
commit 0be837f895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -10,8 +10,9 @@ name: dotnet format
on:
pull_request:
branches: [ main ]
paths:
- '**.md'
paths-ignore:
- '**.cs'
- '.editorconfig'
jobs:
check-format:

View File

@ -21,10 +21,9 @@ jobs:
uses: actions/checkout@v3
- name: Setup .NET Core 7.0
- uses: actions/setup-dotnet@v2
uses: actions/setup-dotnet@v2
with:
dotnet-version: '7.0.x'
include-prerelease: true
- name: Install format tool
run: dotnet tool install -g dotnet-format