Browse Source

workflow: Fix silent error from clang-tidy job

[skip ci]
rdb 2 years ago
parent
commit
b89b0f51ba
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/workflows/lint.yml

+ 2 - 0
.github/workflows/lint.yml

@@ -6,6 +6,8 @@ jobs:
     runs-on: ubuntu-20.04
     runs-on: ubuntu-20.04
     steps:
     steps:
     - uses: actions/checkout@v3
     - uses: actions/checkout@v3
+      with:
+        fetch-depth: 2
     - name: Install clang-tidy
     - name: Install clang-tidy
       run: |
       run: |
         sudo apt-get update
         sudo apt-get update