Skip to content

Commit

Permalink
Further update actions and dependencies (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
JelleZijlstra authored May 26, 2023
1 parent 7c41a1d commit ae428ce
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019, macos-10.15]
os: [ubuntu-20.04, windows-2019, macOS-11]

steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: "3.9"
python-version: "3.11"

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.9.0
run: python -m pip install cibuildwheel==2.12.3

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -37,10 +37,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: "3.8"
python-version: "3.11"

- name: Build sdist
run: python setup.py sdist
Expand All @@ -54,7 +54,7 @@ jobs:
name: Build and publish Python distributions to PyPI and TestPyPI
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: artifact
path: dist
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12-dev"]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.black]
target_version = ['py36', 'py37', 'py38', 'py39']
target_version = ['py37', 'py38', 'py39', 'py310', 'py311']
include = '\.pyi?$'
skip-magic-trailing-comma = true
preview = true
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ Cython>=0.27.1
qcore
pygments
black==23.3.0
mypy==1.2.0
mypy==1.3.0

0 comments on commit ae428ce

Please sign in to comment.