diff --git a/.github/workflows/pin_requirements.yml b/.github/workflows/pin_requirements.yml index 0487066..3d8c3e8 100644 --- a/.github/workflows/pin_requirements.yml +++ b/.github/workflows/pin_requirements.yml @@ -15,16 +15,14 @@ jobs: - name: Checkout code uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + - name: Install uv + uses: astral-sh/setup-uv@v3 with: - python-version: ${{ matrix.python-version }} - - - name: Install pip-tools - run: pip install pip-tools + # Install a specific version of uv. + version: "0.5.4" - name: Generate requirements file - run: pip-compile --extra web --output-file requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt pyproject.toml + run: uv pip compile --all-extras pyproject.toml -o requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt - name: Upload requirements file uses: actions/upload-artifact@v3