33# https://github.com/actions
44# https://cibuildwheel.readthedocs.io/en/stable/options/
55#
6- # uses: https://github.com/actions/checkout @v4
7- # uses: https://github.com/actions/setup-python @v4
8- # uses: https://github.com/actions/download-artifact @v3
9- # uses: https://github.com/actions/upload-artifact @v3
10- # uses: https://github.com/pypa/cibuildwheel @v2.16
116
127name : CI
138
149on :
1510 pull_request : {}
16- push : {}
1711
1812jobs :
1913
@@ -23,17 +17,16 @@ jobs:
2317 strategy :
2418 matrix :
2519 test :
26- - {PY: "3.10 ", TOXENV: "lint"}
20+ - {PY: "3.14 ", TOXENV: "lint"}
2721 steps :
2822 - name : " Checkout"
29- uses : actions/checkout@v4
23+ uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3024
3125 - name : " Setup Python ${{matrix.test.PY}}"
32- uses : actions/setup-python@v4
26+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3327 with :
3428 python-version : ${{matrix.test.PY}}
35-
36- - run : python3 -m pip install -r etc/requirements.build.txt --disable-pip-version-check
29+ pip-install : -r etc/requirements.build.txt
3730
3831 - name : " Test"
3932 env :
@@ -46,35 +39,24 @@ jobs:
4639 strategy :
4740 matrix :
4841 test :
49- - {os: "ubuntu-latest", osname: "Linux", PY: "3.7", TOXENV: "py37", arch: "x64"}
50- - {os: "ubuntu-latest", osname: "Linux", PY: "3.8", TOXENV: "py38", arch: "x64"}
51- - {os: "ubuntu-latest", osname: "Linux", PY: "3.9", TOXENV: "py39", arch: "x64"}
5242 - {os: "ubuntu-latest", osname: "Linux", PY: "3.10", TOXENV: "py310", arch: "x64"}
53- - {os: "ubuntu-latest", osname: "Linux", PY: "3.11", TOXENV: "py311", arch: "x64"}
54- - {os: "ubuntu-latest", osname: "Linux", PY: "3.12", TOXENV: "py312", arch: "x64"}
55- - {os: "macos-latest", osname: "MacOS", PY: "3.10", TOXENV: "py310", arch: "x64"}
56- - {os: "macos-latest", osname: "MacOS", PY: "3.11", TOXENV: "py311", arch: "x64"}
57- # - {os: "macos-latest", osname: "MacOS", PY: "3.12", TOXENV: "py312", arch: "x64"}
58- - {os: "windows-latest", osname: "Windows", PY: "3.7", TOXENV: "py37", arch: "x86"}
59- - {os: "windows-latest", osname: "Windows", PY: "3.8", TOXENV: "py38", arch: "x64"}
60- - {os: "windows-latest", osname: "Windows", PY: "3.10", TOXENV: "py310", arch: "x86"}
61- - {os: "windows-latest", osname: "Windows", PY: "3.11", TOXENV: "py311", arch: "x64"}
62- # - {os: "windows-latest", osname: "Windows", PY: "3.12", TOXENV: "py312", arch: "x64"}
63- - {os: "ubuntu-latest", osname: "Linux", PY: "pypy3.8", TOXENV: "pypy38", arch: "x64"}
64- - {os: "ubuntu-latest", osname: "Linux", PY: "pypy3.9", TOXENV: "pypy39", arch: "x64"}
65- - {os: "ubuntu-latest", osname: "Linux", PY: "pypy3.10", TOXENV: "pypy310", arch: "x64"}
43+ - {os: "ubuntu-latest", osname: "Linux", PY: "3.13", TOXENV: "py313", arch: "x64"}
44+ - {os: "ubuntu-latest", osname: "Linux", PY: "3.14", TOXENV: "py314", arch: "x64"}
45+ - {os: "macos-latest", osname: "MacOS", PY: "3.12", TOXENV: "py312", arch: "x64"}
46+ - {os: "macos-latest", osname: "MacOS", PY: "3.14", TOXENV: "py314", arch: "arm64"}
47+ - {os: "windows-latest", osname: "Windows", PY: "3.13", TOXENV: "py313", arch: "x64"}
48+ - {os: "windows-latest", osname: "Windows", PY: "3.14", TOXENV: "py314", arch: "x64"}
49+ # - {os: "ubuntu-latest", osname: "Linux", PY: "pypy3.11", TOXENV: "pypy311", arch: "x64"}
6650 steps :
67- - name : " Checkout"
68- uses : actions/checkout@v4
51+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6952
7053 - name : " Setup Python ${{matrix.test.PY}}"
71- uses : actions/setup-python@v4
54+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
7255 with :
7356 python-version : ${{matrix.test.PY}}
7457 architecture : ${{matrix.test.arch}}
7558 allow-prereleases : true
76-
77- - run : python3 -m pip install -r etc/requirements.build.txt --disable-pip-version-check
59+ pip-install : -r etc/requirements.build.txt
7860
7961 - name : " Build"
8062 run : python setup.py build
@@ -90,23 +72,18 @@ jobs:
9072 strategy :
9173 matrix :
9274 test :
93- - {PY: "3.7", PG: "11", TOXENV: "py37"}
94- - {PY: "3.8", PG: "12", TOXENV: "py38"}
95- - {PY: "3.9", PG: "13", TOXENV: "py39"}
96- - {PY: "3.10", PG: "14", TOXENV: "py310"}
97- - {PY: "3.11", PG: "15", TOXENV: "py311"}
75+ - {PY: "3.10", PG: "16", TOXENV: "py310"}
76+ - {PY: "3.14", PG: "18", TOXENV: "py314"}
9877 # - {PY: "pypy3.9", PG: "15", TOXENV: "pypy39"}
9978 # - {PY: "pypy3.10", PG: "15", TOXENV: "pypy310"}
10079 steps :
101- - name : " Checkout"
102- uses : actions/checkout@v4
80+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
10381
10482 - name : " Setup Python ${{matrix.test.PY}}"
105- uses : actions/setup-python@v4
83+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
10684 with :
10785 python-version : ${{matrix.test.PY}}
108-
109- - run : python3 -m pip install -r etc/requirements.build.txt --disable-pip-version-check
86+ pip-install : -r etc/requirements.build.txt
11087
11188 - name : " InstallDB"
11289 run : |
@@ -162,27 +139,20 @@ jobs:
162139 strategy :
163140 matrix :
164141 sys :
165- - {os: "ubuntu-latest", name: "Linux", archs: "auto", qemu: false}
166- - {os: "ubuntu-latest", name: "Linux", archs: "aarch64", qemu: true}
167- - {os: "macos-latest", name: "MacOS", archs: "x86_64 arm64 universal2", qemu: false}
168- - {os: "windows-latest", name: "Windows", archs: "auto", qemu: false}
142+ - {os: "ubuntu-latest", name: "Linux", archs: "auto"}
143+ - {os: "ubuntu-24.04-arm", name: "Linux", archs: "aarch64"}
144+ - {os: "macos-15-intel", name: "MacOS", archs: "x86_64 universal2"}
145+ - {os: "macos-latest", name: "MacOS", archs: "auto"}
146+ - {os: "windows-latest", name: "Windows", archs: "auto"}
169147 steps :
170- - uses : actions/checkout@v4
171- - name : " Set up QEMU"
172- if : ${{matrix.sys.qemu}}
173- uses : docker/setup-qemu-action@v2
174- with :
175- platforms : all
176- - uses : pypa/cibuildwheel@v2.16
148+ - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
149+ - uses : pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
177150 env :
178151 CIBW_ARCHS : " ${{matrix.sys.archs}}"
179- # cp38: cp37-macos does not support universal2/arm64
180- CIBW_BUILD : " cp38-* pp*-manylinux_x86_64"
181- CIBW_SKIP : " pp37-*"
182152 - name : " Check"
183153 shell : bash
184154 run : |
185155 ls -l wheelhouse
186- - uses : actions/upload-artifact@v3
187- with : {name: "dist ", path: "wheelhouse"}
156+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
157+ with : {name: "wheel-${{matrix.sys.os}} ", path: "wheelhouse"}
188158
0 commit comments