Skip to content

docker/build-push-action is no longer platform agnostic #140

docker/build-push-action is no longer platform agnostic

docker/build-push-action is no longer platform agnostic #140

---
name: Script Linting
on:
pull_request:
types: [opened, reopened, synchronize]
permissions: {}
jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
ignore_paths: examples
severity: warning
scandir: '.'
powershell:
name: PowerShell Analyzer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run PSScriptAnalyzer
uses: microsoft/[email protected]
with:
path: .\*.ps1
output: 'results.sarif'
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif