diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0677238..8b72dab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,14 +12,16 @@ jobs: steps: - name: Create matrix id: create_matrix + # https://github.com/fabiocaccamo/create-matrix-action/releases uses: fabiocaccamo/create-matrix-action@v5 with: matrix: | python-version {3.9}, django-version {4.2} python-version {3.10}, django-version {4.2,5.0,5.1,5.2} python-version {3.11}, django-version {4.2,5.0,5.1,5.2} - python-version {3.12}, django-version {4.2,5.0,5.1,5.2} - python-version {3.13}, django-version {5.1,5.2} + python-version {3.12}, django-version {4.2,5.0,5.1,5.2,6.0} + python-version {3.13}, django-version {5.1,5.2,6.0} + python-version {3.14}, django-version {6.0} outputs: matrix: ${{ steps.create_matrix.outputs.matrix }} @@ -32,8 +34,8 @@ jobs: name: "Python ${{ matrix.python-version }} + Django ${{ matrix.django-version }}" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@v6 + - uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - run: pip install -e '.[dev]' @@ -43,8 +45,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 + - uses: actions/checkout@v6 + - uses: actions/setup-python@v6 with: python-version: "3.13" - run: pip install -e '.[dev]' diff --git a/.github/workflows/conventional-pr.yml b/.github/workflows/conventional-pr.yml index 19c06a7..7974fe3 100644 --- a/.github/workflows/conventional-pr.yml +++ b/.github/workflows/conventional-pr.yml @@ -11,8 +11,8 @@ jobs: lint-pr: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v5 # check for the most recent release: https://github.com/CondeNast/conventional-pull-request-action/releases - - uses: CondeNast/conventional-pull-request-action@v0.1.2 + - uses: CondeNast/conventional-pull-request-action@v0.2.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54ad2cd..c456e8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: contents: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: ${{ github.ref_name }} fetch-depth: 0 @@ -29,18 +29,20 @@ jobs: id: release # https://github.com/python-semantic-release/python-semantic-release/releases # https://python-semantic-release.readthedocs.io/en/latest/github-action.html - uses: python-semantic-release/python-semantic-release@v9.21.0 + uses: python-semantic-release/python-semantic-release@v10.5.2 with: github_token: ${{ secrets.BOT_GITHUB_TOKEN }} - name: Publish | Upload package to PyPI + # https://github.com/pypa/gh-action-pypi-publish/releases uses: pypa/gh-action-pypi-publish@release/v1 # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true. # See https://github.com/actions/runner/issues/1173 if: steps.release.outputs.released == 'true' - name: Publish | Upload to GitHub Release Assets - uses: python-semantic-release/publish-action@v9.21.0 + # https://github.com/python-semantic-release/publish-action/releases + uses: python-semantic-release/publish-action@v10.5.2 if: steps.release.outputs.released == 'true' with: github_token: ${{ secrets.BOT_GITHUB_TOKEN }}