Test MobileNetV2 #201
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: Pull Request Validation | |
on: | |
pull_request: | |
jobs: | |
validate-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run pre-commit hooks (check only) | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
pip install pre-commit | |
pre-commit install | |
pre-commit run --all-files | |
if ! git diff --exit-code; then | |
echo "Pre-commit hooks made changes, please commit them." | |
exit 1 | |
fi |