From 90d1386fb20b06e30b64fd83e826dd9d23042859 Mon Sep 17 00:00:00 2001 From: "Michael K." <130953568+kmichaelk@users.noreply.github.com> Date: Wed, 16 Oct 2024 19:37:56 +0300 Subject: [PATCH] Clone submodules shallowly (#12) --- .github/workflows/static-analysis-pr.yml | 4 ---- README.md | 2 +- appveyor.yml | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/static-analysis-pr.yml b/.github/workflows/static-analysis-pr.yml index 1e824a306d0..4957a20f467 100644 --- a/.github/workflows/static-analysis-pr.yml +++ b/.github/workflows/static-analysis-pr.yml @@ -9,8 +9,6 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - name: Update submodules - run: git submodule update --init --recursive - name: ccache uses: hendrikmuhs/ccache-action@v1.2 with: @@ -36,8 +34,6 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - - name: Update submodules - run: git submodule update --init --recursive - name: ccache uses: hendrikmuhs/ccache-action@v1.2 with: diff --git a/README.md b/README.md index 3a767dc7e29..e839ada670b 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ The following parallel programming technologies are considered in practice: ## 0. Download all submodules ``` - git submodule update --init --recursive + git submodule update --init --recursive --depth=1 ``` ## 1. Set up your environment ### Static analysis of project (optional) diff --git a/appveyor.yml b/appveyor.yml index 69d867d4f8f..99ff9fa8fce 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -18,7 +18,7 @@ install: - python -m pip install xlsxwriter build_script: - - cmd: git submodule update --init --recursive + - cmd: git submodule update --init --recursive --depth=1 - cmd: mkdir build - cmd: cmake -S . -B build ^ -D USE_SEQ=ON ^