specter-desktop/.github/workflows/zblack.yml
copilot-swe-agent[bot] 4545610886 Pin Python 3.12 in Black linter workflow to fix Python 3.14 incompatibility
Co-authored-by: k9ert <117085+k9ert@users.noreply.github.com>
2026-02-01 12:12:11 +00:00

18 lines
580 B
YAML

name: Black Python Linter
on: [push,pull_request]
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.12' # Pin Python to avoid 3.14 incompatibility with Black 22.3.0
# This version should match what you can find in .pre-commit-config.yaml
- uses: psf/black@22.3.0 # https://black.readthedocs.io/en/stable/integrations/github_actions.html
with:
options: "--check --verbose"
src: "./src"
version: "22.3.0"