Skip to content

Commit e771804

Browse files
🚀[Feature]: Upgrade Invoke-ScriptAnalyzer to v4 in Lint and Test workflows
1 parent 6090b7e commit e771804

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎.github/workflows/Lint-SourceCode.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,13 @@ jobs:
5656
fetch-depth: 0
5757

5858
- name: Lint-SourceCode
59-
uses: PSModule/Invoke-ScriptAnalyzer@v3
59+
uses: PSModule/Invoke-ScriptAnalyzer@v4
6060
with:
6161
Debug: ${{ inputs.Debug }}
6262
Prerelease: ${{ inputs.Prerelease }}
6363
Verbose: ${{ inputs.Verbose }}
6464
Version: ${{ inputs.Version }}
6565
Path: src
66-
Settings: SourceCode
6766
WorkingDirectory: ${{ inputs.WorkingDirectory }}
6867
TestResult_Enabled: true
6968
TestResult_TestSuiteName: PSModuleLint-SourceCode-${{ runner.os }}

‎.github/workflows/Test-Module.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,13 @@ jobs:
114114
path: ${{ inputs.WorkingDirectory }}/outputs/module
115115

116116
- name: Lint-Module
117-
uses: PSModule/Invoke-ScriptAnalyzer@v3
117+
uses: PSModule/Invoke-ScriptAnalyzer@v4
118118
with:
119119
Path: outputs/module
120120
Debug: ${{ inputs.Debug }}
121121
Prerelease: ${{ inputs.Prerelease }}
122122
Verbose: ${{ inputs.Verbose }}
123123
Version: ${{ inputs.Version }}
124124
WorkingDirectory: ${{ inputs.WorkingDirectory }}
125-
Settings: Module
126125
TestResult_Enabled: true
127126
TestResult_TestSuiteName: PSModuleLint-Module-${{ runner.os }}

0 commit comments

Comments
 (0)