Skip to content

Add pgAdmin and Xerox driver to the installer script #14

Add pgAdmin and Xerox driver to the installer script

Add pgAdmin and Xerox driver to the installer script #14

Workflow file for this run

name: CI
on: push
jobs:
lint:
name: Lint with PSScriptAnalyzer
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Install PSScriptAnalyzer module
shell: pwsh
run: |
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module PSScriptAnalyzer -ErrorAction Stop
- name: Lint with PSScriptAnalyzer
shell: pwsh
run: |
Invoke-ScriptAnalyzer -Path *.ps1 -Recurse -Outvariable issues
$errors = $issues.Where({$_.Severity -eq 'Error'})
$warnings = $issues.Where({$_.Severity -eq 'Warning'})
if ($errors) {
Write-Error "There were $($errors.Count) errors and $($warnings.Count) warnings total." -ErrorAction Stop
} else {
Write-Output "There were $($errors.Count) errors and $($warnings.Count) warnings total."
}
# test-windows:
# name: Test on Windows
# runs-on: windows-latest
# steps: