Skip to content

Commit 4f82a6c

Browse files
[CI] Always fetch the whole repo content
to assure a git tag (setting the version) is available.
1 parent c39f4aa commit 4f82a6c

18 files changed

+50
-0
lines changed

.github/workflows/bandit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
27+
with:
28+
fetch-depth: 0
2729

2830
- name: Install Bandit
2931
run: python3 -m pip install bandit

.github/workflows/basic.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ jobs:
7575
steps:
7676
- name: Checkout
7777
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
78+
with:
79+
fetch-depth: 0
7880

7981
- name: Install apt packages
8082
run: |
@@ -180,6 +182,8 @@ jobs:
180182
steps:
181183
- name: Checkout
182184
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
185+
with:
186+
fetch-depth: 0
183187

184188
- name: Initialize vcpkg
185189
uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
@@ -251,6 +255,8 @@ jobs:
251255
steps:
252256
- name: Checkout
253257
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
258+
with:
259+
fetch-depth: 0
254260

255261
- name: Configure build
256262
run: >
@@ -292,6 +298,8 @@ jobs:
292298
steps:
293299
- name: Checkout
294300
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
301+
with:
302+
fetch-depth: 0
295303

296304
- name: Configure build
297305
run: >
@@ -328,6 +336,8 @@ jobs:
328336
steps:
329337
- name: Checkout
330338
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
339+
with:
340+
fetch-depth: 0
331341

332342
- name: Install Python requirements
333343
run: python3 -m pip install -r third_party/requirements.txt

.github/workflows/benchmarks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
27+
with:
28+
fetch-depth: 0
2729

2830
- name: Install apt packages
2931
if: matrix.os == 'ubuntu-latest'

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
steps:
4040
- name: Checkout repository
4141
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
42+
with:
43+
fetch-depth: 0
4244

4345
- name: Initialize CodeQL
4446
uses: github/codeql-action/init@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3.23.2

.github/workflows/coverity.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2525
with:
2626
ref: ${{ github.ref }}
27+
fetch-depth: 0
2728

2829
- name: Install apt packages
2930
run: |

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
steps:
2222
- name: Checkout repository
2323
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
24+
with:
25+
fetch-depth: 0
2426

2527
- name: Install doxygen
2628
run: |

.github/workflows/fast.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
steps:
5656
- name: Checkout repository
5757
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
58+
with:
59+
fetch-depth: 0
5860

5961
- name: Initialize vcpkg
6062
if: matrix.os == 'windows-latest'

.github/workflows/gpu.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
steps:
3333
- name: Checkout
3434
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
35+
with:
36+
fetch-depth: 0
3537

3638
- name: Get information about platform
3739
if: matrix.os == 'Ubuntu'

.github/workflows/multi_numa.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
23+
with:
24+
fetch-depth: 0
2325

2426
- name: Get information about platform
2527
run: .github/scripts/get_system_info.sh

.github/workflows/nightly.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
steps:
2525
- name: Checkout repository
2626
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
27+
with:
28+
fetch-depth: 0
2729

2830
- name: Install apt packages
2931
run: |
@@ -59,6 +61,8 @@ jobs:
5961
steps:
6062
- name: Checkout repository
6163
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
64+
with:
65+
fetch-depth: 0
6266

6367
- name: Install apt packages
6468
run: |

0 commit comments

Comments
 (0)