From 1aac5a5e2d67c58198deebb2dcb4daa3a6f2feee Mon Sep 17 00:00:00 2001 From: Dylan Verheul Date: Fri, 29 Nov 2024 10:51:31 +0100 Subject: [PATCH] GitHub Actions on uv --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40c0376..d40c76b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,13 +43,16 @@ jobs: - uses: actions/checkout@v4 - name: Update repositories run: sudo apt-get update + - name: Install the latest version of uv and set the python version + uses: astral-sh/setup-uv@v4 + with: + python-version: ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: 'pip' cache-dependency-path: requirements-test.txt - - run: python -m pip install -r requirements-test.txt - run: python -m pip install -U Django==${{ matrix.django-version }} if: matrix.django-version != 'main' - run: python -m pip install -U https://github.com/django/django/archive/master.tar.gz