Skip to content

Commit

Permalink
Create lint.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
james-garriss authored Oct 22, 2024
1 parent 122e2e2 commit 947890e
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Lint Test

on:
push:
workflow_dispatch:

permissions: read-all

jobs:
lint-test:
name: Lint Test
runs-on: ubuntu-latest
# runs-on: windows-latest
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: Run PSScriptAnalyzer
uses: james-garriss/github-action-psscriptanalyzer@master
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
# settingsPath: ./powershell-psscriptanalyzer.psd1
sendComment: true
failOnErrors: true
failOnWarnings: true
failOnInfos: true

0 comments on commit 947890e

Please sign in to comment.