[pre-commit.ci] pre-commit autoupdate #83
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: 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: Install uv | |
uses: astral-sh/setup-uv@v2 | |
with: | |
enable-cache: true | |
cache-dependency-glob: "uv.lock" | |
- name: Setup Python | |
run: uv python install | |
- name: Check version | |
run: | | |
uv run -- python scripts/check_version.py |