Skip to content

Bump the actions-dependencies group across 1 directory with 7 updates #741

Bump the actions-dependencies group across 1 directory with 7 updates

Bump the actions-dependencies group across 1 directory with 7 updates #741

name: Check Python code formatting
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
check-code-formatting:
name: Run ruff check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.12"
- name: Set up uv
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
- name: Install dependencies
run: |
uv venv
source .venv/bin/activate
uv sync --locked --extra dev_core
- name: Check handwritten code with ruff
run: |
source .venv/bin/activate
ruff format --check .