diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b892307f..aae973f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,34 +27,33 @@ jobs: steps: - name: Set up repo - uses: actions/checkout@v2 + uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install the latest version of uv - uses: astral-sh/setup-uv@v6 - - - name: Install dependencies - run: uv sync --group ci + uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 - name: Run Tests - run: uv run pytest --cov=tin + run: uv run --group=ci pytest --cov=tin --cov-report=xml - name: Run Coveralls - uses: AndreMiras/coveralls-python-action@develop + uses: coverallsapp/github-action@v2 with: parallel: true flag-name: Pyenv Unit Tests + # It is an XML file + format: cobertura test_success: needs: test runs-on: ubuntu-latest steps: - name: Handle Coveralls Finish - uses: AndreMiras/coveralls-python-action@develop + uses: coverallsapp/github-action@v2 with: parallel-finished: true diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index bace556d..f26ee04c 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -16,15 +16,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install the latest version of uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 - name: Install dependencies run: uv sync @@ -34,7 +34,7 @@ jobs: working-directory: docs - name: Upload docs artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v5 with: path: docs/build/html @@ -53,4 +53,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/pyproject.toml b/pyproject.toml index bd690b53..ac9383d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ requires-python = ">=3.14" version = "1.0" license = { file = "LICENSE" } dependencies = [ - "django>=5.2.8<6.0", + "django>=5.2.8,<6.0", "channels>=4.1", "daphne>=4.1", "gunicorn>=22.0",