Skip to content

Commit dee602f

Browse files
committed
Ooops. I want Script Analyzer to run on the build output
1 parent 85eec66 commit dee602f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
name: ScriptAnalyzer
4040
path: ${{github.workspace}}/PSScriptAnalyzerSettings.psd1
4141
lint:
42+
needs: build
4243
name: Run PSScriptAnalyzer
4344
runs-on: ubuntu-latest
4445
steps:
@@ -47,12 +48,12 @@ jobs:
4748
- name: Invoke-ScriptAnalyzer
4849
uses: devblackops/github-action-psscriptanalyzer@master
4950
test:
51+
needs: build
5052
runs-on: ${{ matrix.os }}
5153
strategy:
5254
fail-fast: false
5355
matrix:
5456
os: [windows-2016, windows-latest, ubuntu-latest, macos-latest]
55-
needs: build
5657
steps:
5758
- name: Download Build Output
5859
uses: actions/download-artifact@v2

0 commit comments

Comments
 (0)