Skip to content

Bump j178/prek-action from 2.0.6 to 3.0.0 in the actions group (#430) #1145

Bump j178/prek-action from 2.0.6 to 3.0.0 in the actions group (#430)

Bump j178/prek-action from 2.0.6 to 3.0.0 in the actions group (#430) #1145

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@4e14d07f9231acabce116ccfca13b13dd9755ece # v3.0.0
- 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