Nit workflow fix to keep CI greener (#3548)
This commit is contained in:
parent
aba6eafb8f
commit
0be837f895
|
|
@ -10,8 +10,9 @@ name: dotnet format
|
|||
on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- '**.md'
|
||||
paths-ignore:
|
||||
- '**.cs'
|
||||
- '.editorconfig'
|
||||
|
||||
jobs:
|
||||
check-format:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue