diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 283a5ce..17e4d65 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,32 +11,6 @@ on: jobs: # Validation jobs run on Ubuntu in parallel - powershell-lint: - name: PowerShell Linting - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Run PSScriptAnalyzer - shell: pwsh - run: | - Install-Module -Name PSScriptAnalyzer -Force -Scope CurrentUser - $scriptFiles = @(Get-ChildItem -Path . -Include *.ps1 -Recurse -Exclude .github | Select-Object -ExpandProperty FullName) - if ($scriptFiles.Count -gt 0) { - $allResults = @() - foreach ($file in $scriptFiles) { - $results = Invoke-ScriptAnalyzer -Path $file -Severity Warning - if ($results) { - $allResults += $results - } - } - if ($allResults) { - Write-Error "PSScriptAnalyzer found issues:`n$($allResults | Format-List | Out-String)" - exit 1 - } - } - python-lint: name: Python Linting runs-on: ubuntu-latest