Skip to content

Commit ab5fa6b

Browse files
🔧 [CI]: Add Lint-SourceCode job with matrix strategy for improved code quality checks
1 parent 7682ff2 commit ab5fa6b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

‎.github/workflows/CI.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,25 @@ jobs:
9999
Version: ${{ inputs.Version }}
100100
WorkingDirectory: ${{ inputs.WorkingDirectory }}
101101

102+
Lint-SourceCode:
103+
if: ${{ needs.Get-Settings.outputs.SourceCodeTestSuites != '[]' }}
104+
needs:
105+
- Get-Settings
106+
strategy:
107+
fail-fast: false
108+
matrix:
109+
include: ${{ fromJson(needs.Get-Settings.outputs.SourceCodeTestSuites) }}
110+
uses: ./.github/workflows/Lint-SourceCode.yml
111+
with:
112+
RunsOn: ${{ matrix.RunsOn }}
113+
OS: ${{ matrix.OSName }}
114+
Name: ${{ fromJson(needs.Get-Settings.outputs.Settings).Name }}
115+
Debug: ${{ inputs.Debug }}
116+
Prerelease: ${{ inputs.Prerelease }}
117+
Verbose: ${{ inputs.Verbose }}
118+
Version: ${{ inputs.Version }}
119+
WorkingDirectory: ${{ inputs.WorkingDirectory }}
120+
102121
Build-Module:
103122
if: ${{ fromJson(needs.Get-Settings.outputs.Settings).Build.Module.Skip != true }}
104123
uses: ./.github/workflows/Build-Module.yml
@@ -175,6 +194,7 @@ jobs:
175194
needs:
176195
- Get-Settings
177196
- Test-SourceCode
197+
- Lint-SourceCode
178198
- Test-Module
179199
- Test-ModuleLocal
180200
uses: ./.github/workflows/Get-TestResults.yml

0 commit comments

Comments
 (0)