Skip to content

chore(deps): Bump github/codeql-action/init from 4.36.2 to 4.37.4 #473

chore(deps): Bump github/codeql-action/init from 4.36.2 to 4.37.4

chore(deps): Bump github/codeql-action/init from 4.36.2 to 4.37.4 #473

Workflow file for this run

name: ruff
on:
pull_request:
branches: [ "main" ]
permissions:
contents: read
pull-requests: read
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
- name: Run uv sync
run: uv sync
- name: Run ruff
run: uv run ruff check --output-format=github .
- name: Run ruff formatter
run: uv run ruff format --diff .