Skip to content

Commit 7aef35b

Browse files
committed
Pin and update actions
1 parent 6deaa20 commit 7aef35b

2 files changed

Lines changed: 19 additions & 19 deletions

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
pkgprefix: mingw-w64-clang-x86_64
1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

2323
- name: setup-msys2
24-
uses: msys2/setup-msys2@v2
24+
uses: msys2/setup-msys2@e9898307ac31d1a803454791be09ab9973336e1c # v2.31.1
2525
with:
2626
msystem: ${{ matrix.msystem }}
2727
update: true
@@ -61,7 +61,7 @@ jobs:
6161
poetry run coverage xml -i
6262
6363
- name: Upload coverage to Codecov
64-
uses: codecov/codecov-action@v5
64+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
6565

6666
ubuntu:
6767
runs-on: ubuntu-latest
@@ -70,10 +70,10 @@ jobs:
7070
matrix:
7171
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.14t', 'pypy-3.11']
7272
steps:
73-
- uses: actions/checkout@v5
73+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7474

7575
- name: Set up Python ${{ matrix.python-version }}
76-
uses: actions/setup-python@v6
76+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
7777
with:
7878
python-version: ${{ matrix.python-version }}
7979
allow-prereleases: true
@@ -107,7 +107,7 @@ jobs:
107107
uv run coverage xml -i
108108
109109
- name: Upload coverage to Codecov
110-
uses: codecov/codecov-action@v5
110+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
111111

112112
- name: Run linters
113113
if: ${{ !contains(matrix.python-version, 'pypy') }}
@@ -140,18 +140,18 @@ jobs:
140140
architecture: 'arm64'
141141
os: 'windows-11-arm'
142142
steps:
143-
- uses: actions/checkout@v5
143+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
144144

145145
- name: Set up Python ${{ matrix.python-version }}
146146
id: setup-python
147-
uses: actions/setup-python@v6
147+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
148148
with:
149149
python-version: ${{ matrix.python-version }}
150150
architecture: ${{ matrix.architecture }}
151151
allow-prereleases: true
152152

153153
- name: Setup MSVC
154-
uses: ilammy/msvc-dev-cmd@v1.13.0
154+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
155155
with:
156156
arch : ${{ matrix.architecture }}
157157

@@ -191,14 +191,14 @@ jobs:
191191
uv run coverage xml -i
192192
193193
- name: Upload coverage to Codecov
194-
uses: codecov/codecov-action@v5
194+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
195195

196196
macos:
197197
runs-on: macos-latest
198198

199199
steps:
200200
- name: Checkout code
201-
uses: actions/checkout@v5
201+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
202202

203203
- name: Install dependencies
204204
run: |
@@ -221,4 +221,4 @@ jobs:
221221
uv run coverage xml -i
222222
223223
- name: Upload coverage to Codecov
224-
uses: codecov/codecov-action@v5
224+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0

.github/workflows/wheels.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v5
11+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1212

1313
- name: Set up Python
14-
uses: actions/setup-python@v6
14+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1515
with:
1616
python-version: '3.11'
1717

@@ -24,7 +24,7 @@ jobs:
2424
- name: Build sdist
2525
run: python -m build --sdist
2626

27-
- uses: actions/upload-artifact@v5
27+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
2828
with:
2929
name: sdist
3030
path: ./dist/*.tar.gz
@@ -47,15 +47,15 @@ jobs:
4747
arch: arm64
4848

4949
steps:
50-
- uses: actions/checkout@v5
50+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5151

5252
- name: Setup MSVC
53-
uses: ilammy/msvc-dev-cmd@v1.13.0
53+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
5454
with:
5555
arch : ${{ matrix.arch }}
5656

5757
- name: Build wheels
58-
uses: pypa/cibuildwheel@v3.2.1
58+
uses: pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
5959
env:
6060
CFLAGS: "-DCAIRO_WIN32_STATIC_BUILD=1"
6161
CIBW_BEFORE_BUILD: "python {package}/.ci/download-cairo-win32.py ${{ matrix.arch }}"
@@ -65,7 +65,7 @@ jobs:
6565
CIBW_TEST_COMMAND: bash {package}/.ci/test-wheels.sh {package}
6666
CIBW_ENVIRONMENT_WINDOWS: PKG_CONFIG_PATH='${{ github.workspace }}/cairo-prebuild/lib/pkgconfig' PKG_CONFIG='${{ github.workspace }}/cairo-prebuild/bin/pkgconf.exe'
6767

68-
- uses: actions/upload-artifact@v5
68+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6969
with:
7070
name: "wheel-${{ matrix.arch }}"
7171
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)