Bump actions/setup-python from 3 to 5 #4
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 | |
on: | |
pull_request: | |
branches: | |
- develop # Adjust as needed to only run on branches containing 'develop' | |
push: | |
branches: | |
- develop # Adjust as needed | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
pip install pre-commit | |
- name: Run pre-commit version check | |
run: | | |
pre-commit run increase-version --all-files |