Skip to content

Bump artifact GitHub Actions, Python, and pre-commit #81

Bump artifact GitHub Actions, Python, and pre-commit

Bump artifact GitHub Actions, Python, and pre-commit #81

Workflow file for this run

name: Validate
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
pre-commit:
name: Rerun pre-commit checks
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.14
- name: Install dependencies
run: python -m pip install pre-commit
- name: Cache pre-commit environments
uses: actions/cache@v4
with:
key: pre-commit|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
path: ~/.cache/pre-commit
- name: Run pre-commit hooks
run: pre-commit run -a --show-diff-on-failure --color=always