Skip to content

Commit 59b4d92

Browse files
authored
Revert to actions/checkout v4 (#2018)
1 parent 6777779 commit 59b4d92

13 files changed

Lines changed: 44 additions & 44 deletions

.github/workflows/build-without-conan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
INSTALL_DIR: "/home/runner/local"
1515
TMP_DIR: "/home/runner/tmp"
1616
steps:
17-
- uses: actions/checkout@v5
17+
- uses: actions/checkout@v4
1818
- name: Create directories
1919
run: |
2020
mkdir ${INSTALL_DIR}

.github/workflows/build_and_test.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
pytket_or_workflow_changed: ${{ steps.filter.outputs.pytket_or_workflow }}
2929
tket_ver: ${{ steps.tket_ver.outputs.tket_ver }}
3030
steps:
31-
- uses: actions/checkout@v5
31+
- uses: actions/checkout@v4
3232
- name: Select Python 3.12
3333
uses: actions/setup-python@v5
3434
with:
@@ -82,7 +82,7 @@ jobs:
8282
if: needs.check_changes.outputs.tket_or_workflow_changed == 'true' || needs.check_changes.outputs.doxyfile_or_workflow_changed == 'true'
8383
runs-on: 'ubuntu-24.04'
8484
steps:
85-
- uses: actions/checkout@v5
85+
- uses: actions/checkout@v4
8686
- name: Check doxygen
8787
run: |
8888
sudo apt install -y doxygen graphviz
@@ -92,7 +92,7 @@ jobs:
9292
name: Check C++ code formatting
9393
runs-on: 'macos-latest'
9494
steps:
95-
- uses: actions/checkout@v5
95+
- uses: actions/checkout@v4
9696
- name: Check C++ code formatting
9797
run: |
9898
brew update
@@ -109,7 +109,7 @@ jobs:
109109
os: ['ubuntu-24.04', 'macos-13', 'macos-15']
110110
runs-on: ${{ matrix.os }}
111111
steps:
112-
- uses: actions/checkout@v5
112+
- uses: actions/checkout@v4
113113
- name: apt update
114114
if: matrix.os == 'ubuntu-24.04'
115115
run: sudo apt update
@@ -166,7 +166,7 @@ jobs:
166166
os: ['windows-2025']
167167
runs-on: ${{ matrix.os }}
168168
steps:
169-
- uses: actions/checkout@v5
169+
- uses: actions/checkout@v4
170170
- name: Select Python 3.12
171171
uses: actions/setup-python@v5
172172
with:
@@ -253,7 +253,7 @@ jobs:
253253
if: needs.check_changes.outputs.tket_or_workflow_changed == 'true' || needs.check_changes.outputs.pytket_or_workflow_changed == 'true'
254254
runs-on: ubuntu-24.04
255255
steps:
256-
- uses: actions/checkout@v5
256+
- uses: actions/checkout@v4
257257
with:
258258
submodules: recursive
259259
- name: Select Python 3.12
@@ -357,7 +357,7 @@ jobs:
357357
os: ['macos-13', 'macos-15']
358358
runs-on: ${{ matrix.os }}
359359
steps:
360-
- uses: actions/checkout@v5
360+
- uses: actions/checkout@v4
361361
- name: Select Python 3.12
362362
uses: actions/setup-python@v5
363363
with:
@@ -436,7 +436,7 @@ jobs:
436436
if: needs.check_changes.outputs.tket_or_workflow_changed == 'true' || needs.check_changes.outputs.pytket_or_workflow_changed == 'true'
437437
runs-on: windows-2025
438438
steps:
439-
- uses: actions/checkout@v5
439+
- uses: actions/checkout@v4
440440
- name: Select Python 3.12
441441
uses: actions/setup-python@v5
442442
with:
@@ -552,7 +552,7 @@ jobs:
552552
if: github.event_name == 'push'
553553
runs-on: ubuntu-24.04
554554
steps:
555-
- uses: actions/checkout@v5
555+
- uses: actions/checkout@v4
556556
with:
557557
ref: gh-pages
558558
- name: Download artefact
@@ -580,7 +580,7 @@ jobs:
580580
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
581581
runs-on: ubuntu-24.04
582582
steps:
583-
- uses: actions/checkout@v5
583+
- uses: actions/checkout@v4
584584
- name: Download artefact
585585
uses: actions/download-artifact@v5
586586
with:

.github/workflows/build_libs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
tkwsm: ${{ steps.filter.outputs.tkwsm }}
2020
libs: ${{ steps.filter.outputs.changes }}
2121
steps:
22-
- uses: actions/checkout@v5
22+
- uses: actions/checkout@v4
2323
- uses: dorny/paths-filter@v3.0.2
2424
id: filter
2525
with:
@@ -51,7 +51,7 @@ jobs:
5151
build_type: ['Release', 'Debug']
5252
runs-on: ${{ matrix.os }}
5353
steps:
54-
- uses: actions/checkout@v5
54+
- uses: actions/checkout@v4
5555
- name: normalize line endings in conanfile and src directory
5656
if: matrix.os == 'windows-2025'
5757
# This is necessary to ensure consistent revisions across platforms.
@@ -104,7 +104,7 @@ jobs:
104104
env:
105105
UPLOAD_PACKAGE: "NO"
106106
steps:
107-
- uses: actions/checkout@v5
107+
- uses: actions/checkout@v4
108108
- name: set up container
109109
run: |
110110
docker create --name linux_build -i -v /:/host quay.io/pypa/manylinux_2_28_x86_64:latest /bin/bash

.github/workflows/coverage.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
outputs:
2424
tket: ${{ steps.filter.outputs.tket }}
2525
steps:
26-
- uses: actions/checkout@v5
26+
- uses: actions/checkout@v4
2727
- uses: dorny/paths-filter@v3.0.2
2828
id: filter
2929
with:
@@ -39,7 +39,7 @@ jobs:
3939
if: needs.changes.outputs.tket == 'true' || github.event_name == 'schedule'
4040
runs-on: ubuntu-24.04
4141
steps:
42-
- uses: actions/checkout@v5
42+
- uses: actions/checkout@v4
4343
- name: Select Python 3.12
4444
uses: actions/setup-python@v5
4545
with:
@@ -97,7 +97,7 @@ jobs:
9797
if: ((github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch') && needs.changes.outputs.tket == 'true') || github.event_name == 'schedule'
9898
runs-on: ubuntu-24.04
9999
steps:
100-
- uses: actions/checkout@v5
100+
- uses: actions/checkout@v4
101101
- name: Download artefact
102102
uses: actions/download-artifact@v5
103103
with:
@@ -121,7 +121,7 @@ jobs:
121121
if: github.event_name == 'push' && needs.changes.outputs.tket == 'true'
122122
runs-on: ubuntu-24.04
123123
steps:
124-
- uses: actions/checkout@v5
124+
- uses: actions/checkout@v4
125125
with:
126126
ref: gh-pages
127127
- name: Download artefact
@@ -150,7 +150,7 @@ jobs:
150150
if: github.event_name == 'schedule'
151151
runs-on: ubuntu-24.04
152152
steps:
153-
- uses: actions/checkout@v5
153+
- uses: actions/checkout@v4
154154
with:
155155
ref: gh-pages
156156
- name: Download artefact

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build_docs:
1212
runs-on: ubuntu-24.04
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v4
1515
- name: Install Doxygen
1616
run: sudo apt update && sudo apt install -y doxygen graphviz
1717
- name: Build Doxygen docs
@@ -26,7 +26,7 @@ jobs:
2626
concurrency: gh_pages
2727
runs-on: ubuntu-24.04
2828
steps:
29-
- uses: actions/checkout@v5
29+
- uses: actions/checkout@v4
3030
with:
3131
ref: gh-pages
3232
- name: Download artefact

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v4
1414
- name: Set up Python 3.x
1515
uses: actions/setup-python@v5
1616
with:

.github/workflows/pytket_benchmarking.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: macos-14
1313

1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: '0'
1818

@@ -77,7 +77,7 @@ jobs:
7777
pip list
7878
7979
- name: Checkout pytket-benchmarking-store
80-
uses: actions/checkout@v5
80+
uses: actions/checkout@v4
8181
with:
8282
repository: CQCL/pytket-benchmarking-store
8383
path: pytket-benchmarking-store

.github/workflows/release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
python3-version: ['10', '11', '12']
1818
steps:
19-
- uses: actions/checkout@v5
19+
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: '0'
2222
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
@@ -43,7 +43,7 @@ jobs:
4343
matrix:
4444
python3-version: ['10', '11', '12']
4545
steps:
46-
- uses: actions/checkout@v5
46+
- uses: actions/checkout@v4
4747
with:
4848
fetch-depth: '0'
4949
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
@@ -69,7 +69,7 @@ jobs:
6969
matrix:
7070
python-version: ['3.10', '3.11', '3.12']
7171
steps:
72-
- uses: actions/checkout@v5
72+
- uses: actions/checkout@v4
7373
with:
7474
fetch-depth: '0'
7575
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
@@ -111,7 +111,7 @@ jobs:
111111
matrix:
112112
python-version: ['3.10', '3.11', '3.12']
113113
steps:
114-
- uses: actions/checkout@v5
114+
- uses: actions/checkout@v4
115115
with:
116116
fetch-depth: '0'
117117
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
@@ -151,7 +151,7 @@ jobs:
151151
matrix:
152152
python-version: ['3.10', '3.11', '3.12']
153153
steps:
154-
- uses: actions/checkout@v5
154+
- uses: actions/checkout@v4
155155
with:
156156
fetch-depth: '0'
157157
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
@@ -209,7 +209,7 @@ jobs:
209209
path: wheelhouse/
210210
- name: Install wheel
211211
run: pip install wheelhouse/pytket-*.whl
212-
- uses: actions/checkout@v5
212+
- uses: actions/checkout@v4
213213
with:
214214
path: tket
215215
- name: Setup tests
@@ -227,7 +227,7 @@ jobs:
227227
matrix:
228228
python3-version: ['10', '11', '12', '13']
229229
steps:
230-
- uses: actions/checkout@v5
230+
- uses: actions/checkout@v4
231231
with:
232232
path: tket
233233
- name: Set up Python 3.${{ matrix.python3-version }}
@@ -248,7 +248,7 @@ jobs:
248248
path: wheelhouse/
249249
- name: Install wheel
250250
run: pip install wheelhouse/pytket-*.whl
251-
- uses: actions/checkout@v5
251+
- uses: actions/checkout@v4
252252
with:
253253
path: tket
254254
- name: Setup tests
@@ -283,7 +283,7 @@ jobs:
283283
with:
284284
name: MacOS_x86_3.12_wheel
285285
path: wheelhouse/
286-
- uses: actions/checkout@v5
286+
- uses: actions/checkout@v4
287287
with:
288288
path: tket
289289
- name: Install wheel
@@ -320,7 +320,7 @@ jobs:
320320
with:
321321
name: MacOS_arm64_3.12_wheel
322322
path: wheelhouse/
323-
- uses: actions/checkout@v5
323+
- uses: actions/checkout@v4
324324
with:
325325
path: tket
326326
- name: Install wheel
@@ -359,7 +359,7 @@ jobs:
359359
- name: Install wheel
360360
shell: bash
361361
run: for i in wheelhouse/pytket-*.whl ; do pip install $i ; done
362-
- uses: actions/checkout@v5
362+
- uses: actions/checkout@v4
363363
with:
364364
path: tket
365365
- name: Run tests

.github/workflows/test_libs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
tkrng: ${{ steps.filter.outputs.tkrng }}
2020
libs: ${{ steps.filter.outputs.changes }}
2121
steps:
22-
- uses: actions/checkout@v5
22+
- uses: actions/checkout@v4
2323
- uses: dorny/paths-filter@v3.0.2
2424
id: filter
2525
with:
@@ -67,7 +67,7 @@ jobs:
6767
lib: ${{ fromJson(needs.set_libs_matrix.outputs.libs) }}
6868
runs-on: ${{ matrix.os }}
6969
steps:
70-
- uses: actions/checkout@v5
70+
- uses: actions/checkout@v4
7171
- name: Select Python 3.12
7272
uses: actions/setup-python@v5
7373
with:
@@ -102,7 +102,7 @@ jobs:
102102
lib: ${{ fromJson(needs.set_libs_matrix.outputs.libs) }}
103103
runs-on: 'ubuntu-24.04'
104104
steps:
105-
- uses: actions/checkout@v5
105+
- uses: actions/checkout@v4
106106
- name: Select Python 3.12
107107
uses: actions/setup-python@v5
108108
with:
@@ -157,7 +157,7 @@ jobs:
157157
concurrency: gh_pages
158158
runs-on: ubuntu-24.04
159159
steps:
160-
- uses: actions/checkout@v5
160+
- uses: actions/checkout@v4
161161
with:
162162
ref: gh-pages
163163
- name: download artefact

.github/workflows/test_libs_all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
lib: ['tklog', 'tkassert', 'tkrng', 'tktokenswap', 'tkwsm']
1515
runs-on: ${{ matrix.os }}
1616
steps:
17-
- uses: actions/checkout@v5
17+
- uses: actions/checkout@v4
1818
- name: Select Python 3.12
1919
uses: actions/setup-python@v5
2020
with:

0 commit comments

Comments
 (0)