Skip to content

Commit f042906

Browse files
CopilotMalcolmnixon
andcommitted
Add explanatory comments to workflow jobs
Co-authored-by: Malcolmnixon <1863707+Malcolmnixon@users.noreply.github.com>
1 parent bc6b91f commit f042906

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.github/workflows/build.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
required: true
1111

1212
jobs:
13+
# Performs quick quality checks for project formatting consistency including
14+
# markdown linting, spell checking, and YAML validation.
1315
quality-checks:
1416
name: Quality Checks
1517
runs-on: ubuntu-latest
@@ -35,6 +37,9 @@ jobs:
3537
with:
3638
config_file: .yamllint.yaml
3739

40+
# Builds and unit-tests the project on supported operating systems to ensure
41+
# unit-tests operate on all platforms and to run SonarScanner for generating
42+
# the code quality report.
3843
build:
3944
name: Build ${{ matrix.os }}
4045
needs: quality-checks
@@ -130,6 +135,8 @@ jobs:
130135
src/DemaConsulting.TemplateDotNetTool/bin/Release/*.nupkg
131136
src/DemaConsulting.TemplateDotNetTool/bin/Release/*.snupkg
132137
138+
# Runs CodeQL security and quality analysis, gathering results to include
139+
# in the code quality report.
133140
codeql:
134141
name: CodeQL Analysis
135142
runs-on: ubuntu-latest
@@ -188,6 +195,9 @@ jobs:
188195
name: codeql-sarif
189196
path: sarif-results/csharp.sarif
190197

198+
# Performs integration testing on a matrix of operating systems and .NET runtimes,
199+
# involving basic tool execution and running self-validation to ensure compatibility
200+
# across different platforms and runtime versions.
191201
integration-test:
192202
name: Integration Test ${{ matrix.os }} .NET ${{ matrix.dotnet-version }}
193203
runs-on: ${{ matrix.os }}
@@ -250,6 +260,8 @@ jobs:
250260
name: validation-test-results-${{ matrix.os }}-dotnet${{ matrix.dotnet-version }}
251261
path: validation-${{ matrix.os }}-dotnet${{ matrix.dotnet-version }}.trx
252262

263+
# Builds the supporting documentation including user guides, requirements,
264+
# trace matrices, code quality reports, and build notes.
253265
build-docs:
254266
name: Build Documents
255267
runs-on: windows-latest

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ on:
1818
- publish
1919

2020
jobs:
21+
# Calls the reusable build workflow to build, test, and generate documentation
22+
# for the release version.
2123
build:
2224
name: Build
2325
permissions:
@@ -31,6 +33,8 @@ jobs:
3133
secrets:
3234
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3335

36+
# Cuts and publishes the release, creating a GitHub release with artifacts
37+
# and optionally publishing the NuGet package.
3438
release:
3539
name: Release
3640
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)