Skip to content

Commit

Permalink
Support Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jgosmann committed Oct 20, 2023
1 parent 4d6efb7 commit 93c8295
Show file tree
Hide file tree
Showing 4 changed files with 298 additions and 342 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.11'
python-version: '3.12'

- uses: actions/[email protected]
with:
Expand All @@ -34,9 +34,9 @@ jobs:
- uses: actions/[email protected]
with:
path: .venv
key: ${{ runner.os }}-py3.11-venv-${{ hashFiles('pyproject.toml') }}
key: ${{ runner.os }}-py3.12-venv-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-py3.11-venv-
${{ runner.os }}-py3.12-venv-
- uses: ./.github/actions/setup-project

- name: ${{ matrix.check.name }}
Expand All @@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.11'
python-version: '3.12'

- uses: actions/[email protected]
with:
Expand All @@ -91,9 +91,9 @@ jobs:
- uses: actions/[email protected]
with:
path: .venv
key: ${{ runner.os }}-py3.11-venv-${{ hashFiles('pyproject.toml') }}
key: ${{ runner.os }}-py3.12-venv-${{ hashFiles('pyproject.toml') }}
restore-keys: |
${{ runner.os }}-py3.11-venv-
${{ runner.os }}-py3.12-venv-
- uses: ./.github/actions/setup-project

- name: Publish to PyPI
Expand Down
Loading

0 comments on commit 93c8295

Please sign in to comment.