Nit workflow fix to keep CI greener (#3548)
This commit is contained in:
parent
aba6eafb8f
commit
0be837f895
|
|
@ -10,12 +10,13 @@ name: dotnet format
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
paths:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.cs'
|
||||||
|
- '.editorconfig'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-format:
|
check-format:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- run: 'echo "No build required"'
|
- run: 'echo "No build required"'
|
||||||
|
|
@ -21,10 +21,9 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup .NET Core 7.0
|
- name: Setup .NET Core 7.0
|
||||||
- uses: actions/setup-dotnet@v2
|
uses: actions/setup-dotnet@v2
|
||||||
with:
|
with:
|
||||||
dotnet-version: '7.0.x'
|
dotnet-version: '7.0.x'
|
||||||
include-prerelease: true
|
|
||||||
|
|
||||||
- name: Install format tool
|
- name: Install format tool
|
||||||
run: dotnet tool install -g dotnet-format
|
run: dotnet tool install -g dotnet-format
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue