diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 0935577e1c..8ed0b8f84a 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -24,7 +24,9 @@ jobs: custom_target: ["LEKA_V1_1_DEV", "LEKA_V1_2_DEV"] steps: - name: Checkout - uses: actions/checkout@v2.0.0 + uses: actions/checkout@v2 + with: + fetch-depth: 2 - name: Create cache variables id: create_cache_variables diff --git a/.github/workflows/ci-check.yml b/.github/workflows/ci-check.yml index 050ed50158..0006635724 100644 --- a/.github/workflows/ci-check.yml +++ b/.github/workflows/ci-check.yml @@ -10,7 +10,10 @@ jobs: runs-on: [self-hosted, check] steps: - name: Checkout - uses: actions/checkout@v2.0.0 + uses: actions/checkout@v2 + with: + fetch-depth: 2 + - name: Run clang-format run: | python3 tools/run-clang-format.py -r --extension=h,c,cpp --color=always --style=file ./src ./drivers ./libs ./spikes ./tests diff --git a/.github/workflows/ci-unit_test.yml b/.github/workflows/ci-unit_test.yml index 4260edfa6e..de3c458897 100644 --- a/.github/workflows/ci-unit_test.yml +++ b/.github/workflows/ci-unit_test.yml @@ -20,7 +20,9 @@ jobs: runs-on: [self-hosted, build] steps: - name: Checkout - uses: actions/checkout@v2.0.0 + uses: actions/checkout@v2 + with: + fetch-depth: 2 - name: Create cache variables id: create_cache_variables