Skip to content

Bump the github-dependencies group across 1 directory with 5 updates #767

Bump the github-dependencies group across 1 directory with 5 updates

Bump the github-dependencies group across 1 directory with 5 updates #767

Workflow file for this run

---
name: πŸƒπŸΌ pre-commit
on: [push, pull_request]
permissions:
contents: read
jobs:
pre-commit:
name: πŸƒπŸΌβ€β™€οΈβ€βž‘οΈ Run pre-commit
runs-on: ubuntu-latest
steps:
- name: βœ… Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
with:
persist-credentials: false
- name: 🐍 Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1
with:
python-version: '3.14'
- name: πŸ“ Set Python Version Hash
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> "$GITHUB_ENV"
- name: πŸ₯‘ Cache pre-commit
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: πŸ—οΈ Install pre-commit
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: πŸƒβ€β™€οΈ Run pre-commit
run: pre-commit run --color=always --all-files --show-diff-on-failure
- name: πŸƒπŸΌβ€β™€οΈβ€βž‘οΈ Run manual pre-commit hooks
run: pre-commit run --color=always --all-files --hook-stage manual --show-diff-on-failure