Skip to content

Dep update

Dep update #1524

Workflow file for this run

name: "pre-commit checks"
permissions:
contents: read
on:
push:
branches: ["main", "master"]
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
with:
fetch-depth: 0 # pre-commit sometimes needs full history
- name: Set up Python environment
uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Install Python dependencies for pyright
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Set up Node.js for pyright
uses: actions/setup-node@v5
with:
node-version: '20'
- name: Install pyright
run: |
npm install -g pyright
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit hooks
run: pre-commit run --all-files --show-diff-on-failure