[pre-commit.ci] pre-commit autoupdate #46
This file contains hidden or 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: Check Version Update | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| check-version-update: | |
| name: Check if the version has been updated | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Check version | |
| run: | | |
| pip install packaging | |
| python scripts/check_version.py |