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: |

.github/workflows/pr_push.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout repository
2424
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
25+
with:
26+
fetch-depth: 0
2527

2628
- name: Install apt packages
2729
run: |
@@ -55,6 +57,8 @@ jobs:
5557
steps:
5658
- name: Checkout repository
5759
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
60+
with:
61+
fetch-depth: 0
5862

5963
- name: Install doxygen
6064
run: |

.github/workflows/proxy_lib.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
2323
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
24+
with:
25+
fetch-depth: 0
2426

2527
- name: Install apt packages
2628
run: |

.github/workflows/qemu.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
20+
with:
21+
fetch-depth: 0
22+
2023
- name: Enable KVM
2124
run: |
2225
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules

.github/workflows/sanitizers.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
25+
with:
26+
fetch-depth: 0
2527

2628
- name: Install apt packages
2729
run: |
@@ -86,6 +88,8 @@ jobs:
8688
steps:
8789
- name: Checkout
8890
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
91+
with:
92+
fetch-depth: 0
8993

9094
# Use the latest MSVC toolset available, when compiling UMF with ASan.
9195
# Running binaries compiled with older toolsets results in a

.github/workflows/scorecard.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
30+
with:
31+
fetch-depth: 0
3032

3133
- name: Run analysis
3234
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1

.github/workflows/spellcheck.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
17+
with:
18+
fetch-depth: 0
1719

1820
- name: Run a spell check
1921
uses: crate-ci/typos@b63f421581dce830bda2f597a678cb7776b41877 # v1.18.2

.github/workflows/trivy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
steps:
3232
- name: Clone the git repo
3333
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
34+
with:
35+
fetch-depth: 0
3436

3537
- name: Run Trivy
3638
uses: aquasecurity/trivy-action@84384bd6e777ef152729993b8145ea352e9dd3ef # v0.17.0

.github/workflows/valgrind.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- name: Checkout repository
1919
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
20+
with:
21+
fetch-depth: 0
2022

2123
- name: Install apt packages
2224
run: |

0 commit comments

Comments
 (0)