Skip to content

Commit

Permalink
add '--depth 1' parament for fix cloning musl randomly fail
Browse files Browse the repository at this point in the history
Signed-off-by: OuyangHang33 <[email protected]>
  • Loading branch information
OuyangHang33 committed Mar 6, 2024
1 parent ffc2ec2 commit 18fa579
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v4
- run: git config --global http.postBuffer 524288000
- run: git config --global http.sslVerify "false"
- run: git submodule update --init --recursive
- run: git submodule update --init --recursive --depth 1
- run: bash sh_script/pre-build.sh
- uses: EmbarkStudios/cargo-deny-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
git config --global http.postBuffer 524288000
git config --global http.sslVerify "false"
git submodule update --init --recursive
git submodule update --init --recursive --depth 1
# Install first since it's needed to build NASM
- name: Install LLVM and Clang
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
run: |
git config --global http.postBuffer 524288000
git config --global http.sslVerify "false"
git submodule update --init --recursive
git submodule update --init --recursive --depth 1
- name: Install toolchain with rustfmt available
uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
git config --global http.postBuffer 524288000
git config --global http.sslVerify "false"
git submodule update --init --recursive
git submodule update --init --recursive --depth 1
- name: Checkout sources - TDVF
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
git config --global http.postBuffer 524288000
git config --global http.sslVerify "false"
git submodule update --init --recursive
git submodule update --init --recursive --depth 1
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: |
git config --global http.postBuffer 524288000
git config --global http.sslVerify "false"
git submodule update --init --recursive
git submodule update --init --recursive --depth 1
# Install first since it's needed to build NASM
- name: Install LLVM and Clang
Expand Down

0 comments on commit 18fa579

Please sign in to comment.