Minor maintenance and fix (#116) #494
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 code format checks | |
on: | |
pull_request: | |
push: { branches: main } | |
jobs: | |
run-pre-commit-checks: | |
name: Run pre-commit checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install pre-commit setup | |
run: | | |
pip install pre-commit | |
pre-commit install | |
- name: Run checks | |
run: pre-commit run --all-files |