diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ffe9a40..ed7c0e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,10 +10,6 @@ concurrency: group: test-${{ github.head_ref }} cancel-in-progress: true -env: - PYTHONUNBUFFERED: "1" - FORCE_COLOR: "1" - jobs: run: name: Python ${{ matrix.python-version }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} @@ -25,16 +21,13 @@ jobs: python-version: ['3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + - name: Set up PDM + uses: pdm-project/setup-pdm@v4 with: python-version: ${{ matrix.python-version }} - cache: 'pip' - - - name: Install PDM - run: python -m pip install pdm + cache: true - name: Install dependencies run: pdm install