Skip to content

Bump cryptography from 46.0.6 to 46.0.7 in /tools/deterministic-build #1513

Bump cryptography from 46.0.6 to 46.0.7 in /tools/deterministic-build

Bump cryptography from 46.0.6 to 46.0.7 in /tools/deterministic-build #1513

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