chore(ci)(deps): bump astral-sh/setup-uv from 9.0.0 to 10.0.1 #893
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 Semantic Versioning | |
| on: | |
| - pull_request | |
| jobs: | |
| version-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| fetch-depth: 0 # Necessary to compare with the main branch | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | |
| - name: Check version bump | |
| run: | | |
| # Fetch VERSION file from the main branch | |
| OLD_VERSION=$(git show origin/main:VERSION) | |
| # Read VERSION file from the current branch | |
| NEW_VERSION=$(cat VERSION) | |
| echo "Old version: $OLD_VERSION" | |
| echo "New version: $NEW_VERSION" | |
| # Run the version comparison Python script | |
| uv run --with packaging .github/workflows/version_check.py "$OLD_VERSION" "$NEW_VERSION" | |