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