1414 lint :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
18- - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
17+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
18+ - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
1919 with :
2020 python-version : " 3.12"
2121 - uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
2626 name : Lint Commit Messages
2727 runs-on : ubuntu-latest
2828 steps :
29- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
29+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
3030 with :
3131 fetch-depth : 0
3232 - uses : wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6
@@ -65,11 +65,11 @@ jobs:
6565 python-version : " pypy-3.10"
6666 runs-on : ${{ matrix.os }}
6767 steps :
68- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
68+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
6969 - name : Install poetry
7070 run : pipx install poetry
7171 - name : Set up Python
72- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
72+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
7373 with :
7474 python-version : ${{ matrix.python-version }}
7575 cache : " poetry"
@@ -87,16 +87,16 @@ jobs:
8787 - name : Test with Pytest
8888 run : poetry run pytest --durations=20 --timeout=60 -v --cov=zeroconf --cov-branch --cov-report xml --cov-report html --cov-report term-missing tests
8989 - name : Upload coverage to Codecov
90- uses : codecov/codecov-action@ad3126e916f78f00edff4ed0317cf185271ccc2d # v5
90+ uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5
9191 with :
9292 token : ${{ secrets.CODECOV_TOKEN }}
9393
9494 benchmark :
9595 runs-on : ubuntu-latest
9696 steps :
97- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
97+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
9898 - name : Setup Python 3.13
99- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
99+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
100100 with :
101101 python-version : 3.13
102102 - uses : snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1
@@ -105,10 +105,11 @@ jobs:
105105 REQUIRE_CYTHON=1 poetry install --only=main,dev
106106 shell : bash
107107 - name : Run benchmarks
108- uses : CodSpeedHQ/action@0010eb0ca6e89b80c88e8edaaa07cfe5f3e6664d # v3
108+ uses : CodSpeedHQ/action@653fdc30e6c40ffd9739e40c8a0576f4f4523ca1 # v3
109109 with :
110110 token : ${{ secrets.CODSPEED_TOKEN }}
111111 run : poetry run pytest --no-cov -vvvvv --codspeed tests/benchmarks
112+ mode : instrumentation
112113
113114 release :
114115 needs :
@@ -128,28 +129,28 @@ jobs:
128129 newest_release_tag : ${{ steps.release.outputs.tag }}
129130
130131 steps :
131- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
132+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
132133 with :
133134 fetch-depth : 0
134135 ref : ${{ github.head_ref || github.ref_name }}
135136
136137 # Do a dry run of PSR
137138 - name : Test release
138- uses : python-semantic-release/python-semantic-release@26bb37cfab71a5a372e3db0f48a6eac57519a4a6 # v9.21.0
139+ uses : python-semantic-release/python-semantic-release@4d4cb0ab842247caea1963132c242c62aab1e4d5 # v10.4.1
139140 if : github.ref_name != 'master'
140141 with :
141- root_options : --noop
142+ no_operation_mode : true
142143
143144 # On main branch: actual PSR + upload to PyPI & GitHub
144145 - name : Release
145- uses : python-semantic-release/python-semantic-release@26bb37cfab71a5a372e3db0f48a6eac57519a4a6 # v9.21.0
146+ uses : python-semantic-release/python-semantic-release@4d4cb0ab842247caea1963132c242c62aab1e4d5 # v10.4.1
146147 id : release
147148 if : github.ref_name == 'master'
148149 with :
149150 github_token : ${{ secrets.GITHUB_TOKEN }}
150151
151152 - name : Publish package distributions to PyPI
152- uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # release/v1
153+ uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
153154 if : steps.release.outputs.released == 'true'
154155
155156 - name : Publish package distributions to GitHub Releases
@@ -204,6 +205,14 @@ jobs:
204205 qemu : armv7l
205206 musl : " musllinux"
206207 pyver : cp313
208+ - os : ubuntu-latest
209+ qemu : armv7l
210+ musl : " musllinux"
211+ pyver : cp314
212+ - os : ubuntu-latest
213+ qemu : armv7l
214+ musl : " musllinux"
215+ pyver : cp314t
207216 # qemu is slow, make a single
208217 # runner per Python version
209218 - os : ubuntu-latest
@@ -226,15 +235,23 @@ jobs:
226235 qemu : armv7l
227236 musl : " "
228237 pyver : cp313
238+ - os : ubuntu-latest
239+ qemu : armv7l
240+ musl : " "
241+ pyver : cp314
242+ - os : ubuntu-latest
243+ qemu : armv7l
244+ musl : " "
245+ pyver : cp314t
229246 steps :
230247 - name : Checkout
231- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
248+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
232249 with :
233250 fetch-depth : 0
234251 ref : " master"
235252 # Used to host cibuildwheel
236253 - name : Set up Python
237- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
254+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
238255 with :
239256 python-version : " 3.12"
240257 - name : Set up QEMU
@@ -262,13 +279,13 @@ jobs:
262279 echo "CIBW_BUILD=${{ matrix.pyver }}*" >> $GITHUB_ENV
263280 fi
264281
265- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
282+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
266283 with :
267284 ref : ${{ needs.release.outputs.newest_release_tag }}
268285 fetch-depth : 0
269286
270287 - name : Build wheels ${{ matrix.musl }} (${{ matrix.qemu }})
271- uses : pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
288+ uses : pypa/cibuildwheel@7c619efba910c04005a835b110b057fc28fd6e93 # v3.2.0
272289 # to supply options, put them in 'env', like:
273290 env :
274291 CIBW_SKIP : cp36-* cp37-* pp36-* pp37-* pp38-* cp38-* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }}
@@ -288,7 +305,7 @@ jobs:
288305 id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
289306
290307 steps :
291- - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
308+ - uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v4
292309 with :
293310 # unpacks default artifact into dist/
294311 # if `name: artifact` is omitted, the action will create extra parent dir
@@ -297,4 +314,4 @@ jobs:
297314 merge-multiple : true
298315
299316 - uses :
300- pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
317+ pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
0 commit comments