Skip to content

[CI] test using setup-uv to build and cache environment #3552

[CI] test using setup-uv to build and cache environment

[CI] test using setup-uv to build and cache environment #3552

Workflow file for this run

name: changelog
on:
pull_request:
types:
- labeled
- unlabeled
- opened
- synchronize
- reopened
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-changelog-entry-needed') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: astral-sh/setup-uv@f3bcaebff5eace81a1c062af9f9011aae482ca9d # v3.1.7
with:
version: "0.4.22"
enable-cache: true
cache-dependency-glob: "pyproject.toml"
- run: uv python install 3
- run: uv pip install .
- run: uv pip install towncrier
- run: towncrier check
- run: towncrier build --draft | grep -P '#${{ github.event.number }}'