[Fix] Add support for directory checkpoints in PBT that can be removed using self-destruct #103
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: pre-commit | |
on: | |
# When a push occurs on either of these branches | |
push: | |
branches: | |
- main | |
- development | |
# When a push occurs on a PR that targets these branches | |
pull_request: | |
branches: | |
- main | |
- development | |
jobs: | |
run-all-files: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Install pre-commit | |
run: | | |
pip install pre-commit | |
pre-commit install | |
- name: Run pre-commit | |
run: | | |
pre-commit run --all-files |