Skip to content

Support soft-deprecated directive #1136

Support soft-deprecated directive

Support soft-deprecated directive #1136

Workflow file for this run

name: Lint
on: [push, pull_request, workflow_dispatch]
permissions: {}
env:
FORCE_COLOR: 1
RUFF_OUTPUT_FORMAT: github
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.x"
cache: pip
- uses: j178/prek-action@5337cb91e0fa35a7ff31b9ca345126d8bbbcdf16 # v2.0.6
- name: Install dependencies
run: |
python3 -m pip install -U pip
python3 -m pip install -U tox
- name: Mypy
run: tox -e mypy
- name: Run PSScriptAnalyzer on PowerShell scripts
shell: pwsh
run: |
Invoke-ScriptAnalyzer -Path . -Recurse -Severity ParseError,Error -EnableExit