Files
computer-playbook/.github/workflows/lint-python.yml
T
dependabot[bot] 95bba0a358 chore(deps): bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 01:25:02 +00:00

38 lines
705 B
YAML

name: "🔍 Lint: Python"
on:
workflow_call:
permissions:
contents: read
jobs:
lint-python:
name: 🧹 Lint Python
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
cache: pip
cache-dependency-path: pyproject.toml
- name: Install ruff
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Ruff (lint)
run: |
ruff check .
- name: Ruff (format check)
run: |
ruff format --check .