Skip to content

Commit 572de55

Browse files
authored
Update CI to include Python 3.11, 3.12 (#190)
1 parent 880f88c commit 572de55

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,13 @@ jobs:
3939
image: python:3.9-slim
4040
- python-version: '3.10'
4141
image: python:3.10-slim
42+
- python-version: '3.11'
43+
image: python:3.11-slim
44+
- python-version: '3.12'
45+
image: python:3.12-slim
4246

4347
steps:
44-
- uses: actions/checkout@v2
48+
- uses: actions/checkout@v4
4549

4650
- name: Run tests
4751
shell: bash
@@ -64,10 +68,10 @@ jobs:
6468
- test
6569
runs-on: ubuntu-latest
6670
steps:
67-
- uses: actions/checkout@v2
71+
- uses: actions/checkout@v4
6872

6973
- name: Set up Python
70-
uses: actions/setup-python@v2
74+
uses: actions/setup-python@v5
7175

7276
- name: Installing baseline packages
7377
run: |
@@ -78,13 +82,13 @@ jobs:
7882
run: python setup.py sdist bdist_wheel
7983

8084
- name: Capture Wheel and SDist
81-
uses: actions/upload-artifact@v2
85+
uses: actions/upload-artifact@v4
8286
with:
8387
name: artifact
8488
path: dist/*
8589

8690
- name: Publish
87-
if: startsWith(github.ref, 'refs/tags/v')
91+
if: startsWith(github.event.release.tag_name, 'v')
8892
uses: pypa/gh-action-pypi-publish@release/v1
8993
with:
9094
user: __token__

0 commit comments

Comments
 (0)