Skip to content

Commit 3ce4454

Browse files
authored
Update the versions of GitHub Actions used in ci.yml (#48)
1 parent a0eebda commit 3ce4454

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/ci.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ jobs:
9090
CIBW_PRERELEASE_PYTHONS: 1
9191
CIBW_BUILD_VERBOSITY: ${{inputs.debug && 1 || ''}}
9292
steps:
93-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
94-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
93+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
94+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
9595
with:
9696
cache: pip
9797
python-version: '3.11'
@@ -101,15 +101,15 @@ jobs:
101101
- run: python -m cibuildwheel --output-dir dist
102102
- run: twine check ./dist/*
103103
shell: bash
104-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
104+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
105105
with:
106106
name: "dist-chromobius-${{matrix.os}}-${{matrix.dist}}-${{matrix.arch}}"
107107
path: dist/*
108108
build_sdist:
109109
runs-on: ubuntu-24.04
110110
steps:
111-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
112-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
111+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
112+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
113113
with:
114114
cache: pip
115115
python-version: '3.11'
@@ -118,21 +118,21 @@ jobs:
118118
- run: python setup.py sdist
119119
# Before going further, test that the result is installable.
120120
- run: pip install dist/*.tar.gz || exit 1
121-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
121+
- uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
122122
with:
123123
name: dist-chromobius-sdist
124124
path: dist/*.tar.gz
125125
run_main:
126126
runs-on: ubuntu-24.04
127127
steps:
128-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
128+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
129129
- run: cmake .
130130
- run: make chromobius -j
131131
- run: out/chromobius --help
132132
build_bazel:
133133
runs-on: ubuntu-24.04
134134
steps:
135-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
135+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
136136
- uses: bazel-contrib/setup-bazel@4fd964a13a440a8aeb0be47350db2fc640f19ca8 # v1
137137
with:
138138
bazelisk-cache: true
@@ -144,7 +144,7 @@ jobs:
144144
build_clang:
145145
runs-on: ubuntu-24.04
146146
steps:
147-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
147+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
148148
- run: sudo apt-get update && sudo apt-get install --no-install-recommends -y clang
149149
- run: |
150150
cd ..
@@ -159,14 +159,14 @@ jobs:
159159
perf:
160160
runs-on: ubuntu-24.04
161161
steps:
162-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
162+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
163163
- run: cmake .
164164
- run: make chromobius_perf -j
165165
- run: out/chromobius_perf
166166
test:
167167
runs-on: ubuntu-24.04
168168
steps:
169-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
169+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
170170
- run: |
171171
cd ..
172172
git -c advice.detachedHead=false clone https://github.com/google/googletest.git -b release-1.12.1
@@ -180,7 +180,7 @@ jobs:
180180
test_o3:
181181
runs-on: ubuntu-24.04
182182
steps:
183-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
183+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
184184
- run: |
185185
cd ..
186186
git -c advice.detachedHead=false clone https://github.com/google/googletest.git -b release-1.12.1
@@ -194,8 +194,8 @@ jobs:
194194
test_generated_docs_are_fresh:
195195
runs-on: ubuntu-24.04
196196
steps:
197-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
198-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
197+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
198+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
199199
with:
200200
cache: pip
201201
python-version: '3.11'
@@ -212,7 +212,7 @@ jobs:
212212
test_generated_file_lists_are_fresh:
213213
runs-on: ubuntu-24.04
214214
steps:
215-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
215+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
216216
- run: tools/regen_file_lists.sh /tmp
217217
- run: diff /tmp/perf_files file_lists/perf_files
218218
- run: diff /tmp/pybind_files file_lists/pybind_files
@@ -221,8 +221,8 @@ jobs:
221221
test_pybind:
222222
runs-on: ubuntu-24.04
223223
steps:
224-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
225-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
224+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
225+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
226226
with:
227227
cache: pip
228228
python-version: '3.11'
@@ -260,14 +260,14 @@ jobs:
260260
testpypi_endpoint_url: https://test.pypi.org/legacy/
261261
testpypi_index_url: https://test.pypi.org/simple
262262
steps:
263-
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
263+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
264264
with:
265265
sparse-checkout: setup.py
266-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
266+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
267267
with:
268268
cache: pip
269269
python-version: '3.11'
270-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
270+
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
271271
with:
272272
path: dist-chromobius
273273
# For efficiency, test just one wheel for each platform.
@@ -308,7 +308,7 @@ jobs:
308308
name: PyPI
309309
url: https://pypi.org/project/chromobius
310310
steps:
311-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
311+
- uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
312312
with:
313313
path: dist-chromobius
314314
pattern: dist-chromobius-*

0 commit comments

Comments
 (0)