Skip to content

Commit

Permalink
Update lint.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garriss authored Oct 22, 2024
1 parent 433637d commit 5e2cb68
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,13 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
# - name: Setup PSScriptAnalyzer settings
# run: cp Testing/Linting/MegaLinter/.powershell-psscriptanalyzer.psd1 ./powershell-psscriptanalyzer.psd1
# - name: Run PSScriptAnalyzer
# uses: devblackops/github-action-psscriptanalyzer@master
# with:
# repoToken: ${{ secrets.GITHUB_TOKEN }}
# settingsPath: ./powershell-psscriptanalyzer.psd1
# sendComment: true
# failOnErrors: true
# failOnWarnings: true
# failOnInfos: true
- name: Setup PSScriptAnalyzer settings
run: cp Testing/Linting/MegaLinter/.powershell-psscriptanalyzer.psd1 ./powershell-psscriptanalyzer.psd1
- name: Run PSScriptAnalyzer
uses: james-garriss/github-action-psscriptanalyzer@master
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
# settingsPath: ./powershell-psscriptanalyzer.psd1
settingsPath: ./powershell-psscriptanalyzer.psd1
sendComment: true
failOnErrors: true
failOnWarnings: true
Expand Down

0 comments on commit 5e2cb68

Please sign in to comment.