Skip to content

Commit 5717280

Browse files
Copilotjongalloway
andcommitted
Fix YAML syntax and improve build validation workflow
Co-authored-by: jongalloway <[email protected]>
1 parent 1143f07 commit 5717280

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build-validation.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: .NET Build Validation
22

3-
on:
3+
'on':
44
pull_request:
55
branches: [ main ]
66
paths:
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131

3232
strategy:
33-
fail-fast: false
33+
fail-fast: false # Show results for all projects even if some fail
3434
matrix:
3535
solution:
3636
- path: "02-SetupDevEnvironment/src/GetingReadySamples.sln"
@@ -48,16 +48,16 @@ jobs:
4848
- name: Checkout code
4949
uses: actions/checkout@v4
5050

51-
- name: Setup .NET
51+
- name: Setup .NET 9.0
5252
uses: actions/setup-dotnet@v4
5353
with:
5454
dotnet-version: '9.0.x'
5555

56-
- name: Restore dependencies
56+
- name: Restore dependencies for ${{ matrix.solution.name }}
5757
run: dotnet restore "${{ matrix.solution.path }}"
5858

59-
- name: Build solution
60-
run: dotnet build "${{ matrix.solution.path }}" --no-restore --configuration Release
59+
- name: Build ${{ matrix.solution.name }}
60+
run: dotnet build "${{ matrix.solution.path }}" --no-restore --configuration Release --verbosity minimal
6161

6262
- name: Display build result
6363
if: success()

0 commit comments

Comments
 (0)