From a1a9787c0b3e6fbf2f2bfa4f6215343ea114aa5b Mon Sep 17 00:00:00 2001 From: Lukas Heumos Date: Mon, 25 Mar 2024 02:47:46 -0700 Subject: [PATCH] uv for CI (#569) Signed-off-by: zethson --- .github/workflows/build.yml | 4 ++-- .github/workflows/labeler.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fa5a5227..0cf991d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,10 +14,10 @@ jobs: package: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" cache: "pip" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 4ab94302..0eeaba4b 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run Labeler uses: crazy-max/ghaction-github-labeler@v4.1.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 04fbe713..f5cf8398 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3c2ef9de..c9447247 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,18 +34,18 @@ jobs: PYTHON: ${{ matrix.python }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} cache: "pip" cache-dependency-path: "**/pyproject.toml" - name: Install test dependencies - run: python -m pip install --upgrade pip wheel + run: python -m pip install --upgrade uv wheel - name: Install dependencies - run: pip install ${{ matrix.pip-flags }} ".[dev,test,coda]" + run: uv pip install --system ${{ matrix.pip-flags }} ".[dev,test,coda]" - name: Test env: