Update README.md #182
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: CI checks (Pre-commit) | |
on: | |
push: | |
branches: | |
- "main" | |
- "develop" | |
pull_request: | |
branches: | |
- "main" | |
- "develop" | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check out repository code" | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.7" | |
cache: "pip" | |
- name: Install Pre-commit | |
run: | | |
python -m pip install --upgrade pip | |
pip install pre-commit | |
- name: "Run pre-commit" | |
run: | | |
pre-commit run --all-files |