Merge pull request #13 from jessech-en/hotfix-efa #6
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: Python Pre Commit Check CI After Commit | |
on: | |
push: | |
branches: | |
- main # Triggers on direct pushes to the main branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.8' # Set python version to 3.8 | |
- name: Install pre-commit dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pre-commit | |
- name: Run pre-commit checks | |
run: | | |
pre-commit run --all-files |