diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 66e6dea..1c0e668 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,8 +2,12 @@ name: Test on: [push, pull_request, workflow_dispatch] +permissions: + contents: read + env: FORCE_COLOR: 1 + PIP_DISABLE_PIP_VERSION_CHECK: 1 jobs: test: @@ -22,13 +26,13 @@ jobs: with: python-version: ${{ matrix.python-version }} allow-prereleases: true - cache: pip + + - name: Install uv + uses: hynek/setup-cached-uv@v2 - name: Install dependencies run: | - python -m pip install -U pip - python -m pip install -U wheel - python -m pip install -U tox + uv pip install --system -U tox-uv - name: Tox tests run: |