Merge pull request #14 from missingcharacter/renovate/all #44
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: | |
push: | |
branches: | |
- develop | |
- main | |
pull_request: | |
jobs: | |
pre-commit: | |
name: Run pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- name: Install deps | |
shell: bash | |
run: | | |
echo "Python version is $(python -V)" | |
pip install --upgrade detect-secrets | |
- name: Run pre-commit | |
uses: pre-commit/action@v3.0.1 |