Skip to content

Commit

Permalink
Merge pull request #6 from jgosmann/py312
Browse files Browse the repository at this point in the history
Support Python 3.12
  • Loading branch information
jgosmann authored Oct 20, 2023
2 parents 71ecdc2 + b90d58a commit 6fc2b01
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 442 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 6fc2b01

Please sign in to comment.