steam-backlog-enforcer/.github/workflows/pre-commit.yml
Krzysztof kuhy Rudnicki e594db5fd7
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (push) Waiting to run
Tests / test (push) Waiting to run
Run CI on one Python, pinned to the newest stable
The dependency-freshness gate was already failing on both workflows before
this branch touched anything, so `git push` was blocked for reasons unrelated
to the change it was carrying:

  * python-tests.yml ran a ["3.11", "3.12", "3.13", "3.14"] matrix, and a
    matrix is not a version -- there is nothing for the gate to compare.
  * pre-commit.yml was pinned to 3.12, two minors behind.

Both now run 3.14.7, matching the interpreter the code is developed against.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019CEsG6BzHtYR9cHcdxPZqG
2026-08-28 19:26:49 +02:00

31 lines
866 B
YAML

name: pre-commit
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Hooks here delegate to the shared gates in kuhyx/utils. Without this
# checkout they exit 1 with "shared gate not found at
# /home/runner/utils/..." -- green locally, red on every runner.
- name: Check out the shared gates
uses: actions/checkout@v4
with:
repository: kuhyx/utils
path: .utils
- name: Point the delegates at that checkout
run: echo "UTILS_ROOT=$GITHUB_WORKSPACE/.utils" >> "$GITHUB_ENV"
- uses: actions/setup-python@v5
with:
python-version: "3.14.7"
- name: Install dependencies
run: pip install -r requirements.txt
- uses: pre-commit/action@v3.0.1