From ef69cdd8631a90be84a79d8787eaa0a1b0e4d77b Mon Sep 17 00:00:00 2001 From: Rehan Khwaja Date: Tue, 12 Nov 2024 23:00:12 -0800 Subject: [PATCH] Use setup-uv in place of setup-python --- .github/workflows/ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 93995a5..abcc6e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,15 +22,12 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - name: Install uv - uses: yezz123/setup-uv@v4 + uses: astral-sh/setup-uv@v3 + - name: Set up Python ${{ matrix.python-version }} + run: uv python install ${{ matrix.python-version }} - name: Dependencies - run: | - uv sync --no-cache + run: uv sync --no-cache - name: Lint run: | uv run poe lint