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.9"
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
@@ -41,19 +41,21 @@ jobs:
4141 - " 3.11"
4242 - " 3.12"
4343 - " 3.13"
44+ - " 3.14"
45+ - " 3.14t"
4446 os :
4547 - ubuntu-latest
4648 extension :
4749 - " skip_cython"
4850 - " use_cython"
4951 runs-on : ${{ matrix.os }}
5052 steps :
51- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
53+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
5254 - name : Install libs
5355 run : sudo apt-get install -y dbus-daemon python3-gi libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0
5456 - uses : snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1
5557 - name : Set up Python
56- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
58+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
5759 with :
5860 python-version : ${{ matrix.python-version }}
5961 cache : " poetry"
6870 - name : Test with Pytest
6971 run : dbus-run-session -- poetry run pytest --cov-report=xml --timeout=5
7072 - name : Upload coverage to Codecov
71- uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5
73+ uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5
7274 with :
7375 token : ${{ secrets.CODECOV_TOKEN }}
7476
7880
7981 steps :
8082 - name : Checkout code
81- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
83+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
8284 - uses : uraimo/run-on-arch-action@1c358dc49363439f8c563ce8f93005f7fe76b849 # v3
8385 name : Run commands
8486 id : runcmd
@@ -98,12 +100,12 @@ jobs:
98100 benchmark :
99101 runs-on : ubuntu-latest
100102 steps :
101- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
103+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
102104 - name : Install libs
103105 run : sudo apt-get install -y dbus-daemon python3-gi libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0
104106 - uses : snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1
105107 - name : Setup Python 3.13
106- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
108+ uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v5
107109 with :
108110 python-version : 3.13
109111 cache : " poetry"
@@ -112,8 +114,9 @@ jobs:
112114 REQUIRE_CYTHON=1 poetry install --only=main,dev
113115 shell : bash
114116 - name : Run benchmarks
115- uses : CodSpeedHQ/action@0b6e7a3d96c9d2a6057e7bcea6b45aaf2f7ce60b # v3
117+ uses : CodSpeedHQ/action@4348f634fa7309fe23aac9502e88b999ec90a164 # v3
116118 with :
119+ mode : instrumentation
117120 token : ${{ secrets.CODSPEED_TOKEN }}
118121 run : dbus-run-session -- poetry run pytest --no-cov -vvvvv --codspeed tests/benchmarks
119122
@@ -134,28 +137,28 @@ jobs:
134137 newest_release_tag : ${{ steps.release_tag.outputs.newest_release_tag }}
135138
136139 steps :
137- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
140+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
138141 with :
139142 fetch-depth : 0
140143 ref : ${{ github.head_ref || github.ref_name }}
141144
142145 # Do a dry run of PSR
143146 - name : Test release
144- uses : python-semantic-release/python-semantic-release@2896129e02bb7809d2cf0c1b8e9e795ee27acbcf # v10.2.0
147+ uses : python-semantic-release/python-semantic-release@4d4cb0ab842247caea1963132c242c62aab1e4d5 # v10.4.1
145148 if : github.ref_name != 'main'
146149 with :
147150 no_operation_mode : true
148151
149152 # On main branch: actual PSR + upload to PyPI & GitHub
150153 - name : Release
151- uses : python-semantic-release/python-semantic-release@2896129e02bb7809d2cf0c1b8e9e795ee27acbcf # v10.2.0
154+ uses : python-semantic-release/python-semantic-release@4d4cb0ab842247caea1963132c242c62aab1e4d5 # v10.4.1
152155 id : release
153156 if : github.ref_name == 'main'
154157 with :
155158 github_token : ${{ secrets.GITHUB_TOKEN }}
156159
157160 - name : Publish package distributions to PyPI
158- uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # release/v1
161+ uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
159162 if : steps.release.outputs.released == 'true'
160163
161164 - name : Publish package distributions to GitHub Releases
@@ -187,28 +190,21 @@ jobs:
187190 - os : macos-latest
188191 musl : " musllinux"
189192 steps :
190- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
193+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
191194 with :
192195 ref : " v${{ needs.release.outputs.newest_release_tag }}"
193196 fetch-depth : 0
194- # Used to host cibuildwheel
195- - name : Set up Python
196- uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
197-
198- - name : Install cibuildwheel
199- run : python -m pip install cibuildwheel==2.22.0
200197
201198 - name : Build wheels
202- run : python -m cibuildwheel --output-dir wheelhouse
203- # to supply options, put them in 'env', like:
199+ uses : pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
204200 env :
205201 CIBW_SKIP : " *p36-* *p37-* *p38-* ${{ matrix.musl == 'musllinux' && '*manylinux*' || '*musllinux*' }}"
206202 CIBW_BEFORE_ALL_LINUX : apt-get install -y gcc || yum install -y gcc || apk add gcc
207203 CIBW_BUILD_VERBOSITY : 3
208204 REQUIRE_CYTHON : 1
209205 CIBW_ARCHS_LINUX : ${{ matrix.os == 'ubuntu-24.04-arm' && 'aarch64' || 'auto' }}
210206
211- - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
207+ - uses : actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4
212208 with :
213209 path : ./wheelhouse/*.whl
214210 name : wheels-${{ matrix.os }}-${{ matrix.musl }}
@@ -221,12 +217,12 @@ jobs:
221217 id-token : write
222218 contents : write
223219 steps :
224- - uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
220+ - uses : actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v4
225221 with :
226222 # unpacks default artifact into dist/
227223 # if `name: artifact` is omitted, the action will create extra parent dir
228224 pattern : wheels-*
229225 path : dist
230226 merge-multiple : true
231227
232- - uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
228+ - uses : pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
0 commit comments