Bump actions/checkout from 3 to 4 #218
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run pre-commit hooks | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
run-hooks: | |
name: Run pre-commit hooks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo ⚡️ | |
uses: actions/checkout@v4 | |
- name: Set Up Python 🐍 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Install pre-commit 📦 | |
run: | | |
pip install --upgrade pip | |
pip install --upgrade pre-commit | |
- name: Run pre-commit hooks ✅ | |
run: pre-commit run --all-files --hook-stage manual |