File tree Expand file tree Collapse file tree 2 files changed +56
-6
lines changed Expand file tree Collapse file tree 2 files changed +56
-6
lines changed Original file line number Diff line number Diff line change 4848 -
4949 name : Run Format 'ci' solution
5050 run : dotnet format ./build/ --verify-no-changes
51- -
52- name : Build 'new-cli' solution
53- run : dotnet build ./new-cli
54- -
55- name : Run Format 'new-cli' solution
56- run : dotnet format ./new-cli/ --exclude ~/.nuget/packages --verify-no-changes
5751 -
5852 name : Run Format 'GitVersion' solution
5953 run : dotnet format ./src/ --exclude **/AddFormats/ --verify-no-changes
Original file line number Diff line number Diff line change 1+ name : Build (new-cli)
2+ on :
3+ push :
4+ branches :
5+ - main
6+ - ' fix/*'
7+ - ' feature/*'
8+ - ' poc/*'
9+ - ' support/*'
10+ paths :
11+ - ' **'
12+ - ' !docs/**'
13+ - ' !.github/**'
14+ - .github/workflows/new-cli.yml
15+
16+ pull_request :
17+ branches :
18+ - main
19+ - ' support/*'
20+ paths :
21+ - ' **'
22+ - ' !docs/**'
23+ - ' !.github/**'
24+ - .github/workflows/new-cli.yml
25+
26+ permissions :
27+ contents : read
28+
29+ env :
30+ DOTNET_ROLL_FORWARD : " Major"
31+ DOTNET_CLI_TELEMETRY_OPTOUT : 1
32+ DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
33+ DOTNET_NOLOGO : 1
34+
35+ jobs :
36+ format :
37+ runs-on : ubuntu-24.04
38+ name : DotNet Format
39+ steps :
40+ -
41+ name : Checkout
42+ uses : actions/checkout@v4
43+ -
44+ name : Setup .NET SDK
45+ uses : actions/setup-dotnet@v4
46+ with :
47+ global-json-file : global.json
48+ -
49+ name : Build 'new-cli' solution
50+ run : dotnet build ./new-cli
51+ -
52+ name : Run Format 'new-cli' solution
53+ run : dotnet format ./new-cli --exclude ~/.nuget/packages --verify-no-changes
54+ -
55+ name : Test 'new-cli' solution
56+ run : dotnet test ./new-cli --no-build --verbosity normal
You can’t perform that action at this time.
0 commit comments