diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 5b179d6..4a8fbfe 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -36,22 +36,28 @@ jobs: run: make isort-check test: - name: Test with Python ${{ matrix.python-version }} + name: Test with Python ${{ matrix.python.version }} needs: lint runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, "3.10", "3.11"] + python: + - version: "3.8" + - version: "3.9" + - version: "3.10" + - version: "3.11" + - version: "3.12" steps: - name: 📥 Checkout the repository uses: actions/checkout@v4.1.1 with: fetch-depth: 0 - - name: 🛠️ Set up Python ${{ matrix.python-version }} + - name: 🛠️ Set up Python ${{ matrix.python.version }} uses: actions/setup-python@v4.7.1 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ matrix.python.version }} + allow-prereleases: ${{ matrix.python.prereleases || false }} - name: 📦 Install dependencies run: make requirements diff --git a/README.md b/README.md index 042f909..81dbef7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # aiogithubapi [![codecov](https://codecov.io/gh/ludeeus/aiogithubapi/branch/main/graph/badge.svg)](https://codecov.io/gh/ludeeus/aiogithubapi) -![python version](https://img.shields.io/badge/Python-3.8=><=3.11-blue.svg) +![python version](https://img.shields.io/badge/Python-3.8=><=3.12-blue.svg) [![PyPI](https://img.shields.io/pypi/v/aiogithubapi)](https://pypi.org/project/aiogithubapi) ![Actions](https://github.com/ludeeus/aiogithubapi/workflows/Actions/badge.svg?branch=main)