Merge pull request #63 from finsberg/pre-commit-ci-update-config #247
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: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
check-code: | |
runs-on: ubuntu-22.04 | |
steps: | |
# This action sets the current path to the root of your github repo | |
- uses: actions/checkout@v4 | |
- name: Install pre-commit | |
run: python3 -m pip install pre-commit | |
- name: Run hooks | |
run: pre-commit run --all |