Skip to content

Commit dc14bcf

Browse files
committed
(new-cli) - enable dotnet format for new-cli
1 parent 6579183 commit dc14bcf

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ on:
66
- main
77
- 'fix/*'
88
- 'feature/*'
9+
- 'poc/*'
910
- 'support/*'
1011
paths:
1112
- '**'
1213
- '!docs/**'
1314
- '!new-cli/**'
14-
15+
1516
pull_request:
1617
branches:
1718
- main

.github/workflows/format.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- main
77
- 'fix/*'
88
- 'feature/*'
9+
- 'poc/*'
910
- 'support/*'
1011
paths:
1112
- '**'
@@ -46,11 +47,12 @@ jobs:
4647
-
4748
name: Run Format 'ci' solution
4849
run: dotnet format ./build/ --verify-no-changes
49-
# -
50-
# name: Run Format 'new-cli' solution
51-
# run: |
52-
# dotnet build ./new-cli
53-
# dotnet format ./new-cli/ --verify-no-changes
50+
-
51+
name: Build 'new-cli' solution
52+
run: dotnet build ./new-cli
53+
-
54+
name: Run Format 'new-cli' solution
55+
run: dotnet format ./new-cli/ --exclude ~/.nuget/packages --verify-no-changes
5456
-
5557
name: Run Format 'GitVersion' solution
5658
run: dotnet format ./src/ --exclude **/AddFormats/ --verify-no-changes

0 commit comments

Comments
 (0)