Skip to content

Fix: git.ntnu

Fix: git.ntnu #5

Workflow file for this run

name: PSScriptAnalyzer
on:
push:
pull_request:
jobs:
analyze:
runs-on: ubuntu-latest # required host runner
container:
image: gossin/secsrv-cicd:2112 # your full environment is here
steps:
- name: Checkout repo # needed so the container sees your scripts
uses: actions/checkout@v4
- name: Run ScriptAnalyzer on all PowerShell files
run: pwsh -Command "Invoke-ScriptAnalyzer -Path . -Recurse -EnableExit"