diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 29f1f3bdf..69e37231b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,9 +27,10 @@ jobs: shell: bash - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: 'recursive' + fetch-depth: 1 - name: Set environment variables diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index d93a92f89..deef6d06b 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -12,7 +12,7 @@ jobs: run: sudo apt install python3 shell: bash - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: # Assume that there are not >200 new commits that need checking fetch-depth: 200