Skip to content

Commit f70240a

Browse files
committed
Update load submodules way
1 parent 27f2979 commit f70240a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/coverity.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
uses: actions/checkout@v4
6363
with:
6464
fetch-depth: 1
65-
65+
submodules: true
66+
6667
- name: Environment Initialization
6768
run: |
6869
if ! su - gpadmin -c "/tmp/init_system.sh"; then
@@ -90,7 +91,6 @@ jobs:
9091
su - gpadmin -c "cd $WORKSPACE"
9192
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
9293
export PATH=$WORKSPACE/coverity_tool/bin:$PATH
93-
git submodule update --init
9494
./configure --prefix=/usr/local/cloudberry-db \
9595
--disable-external-fts \
9696
--enable-gpcloud \

.github/workflows/sonarqube.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
sonarqube-analysis:
5151
runs-on: ubuntu-22.04
5252
if: ${{ github.repository_owner == 'apache' }}
53-
53+
5454
container:
5555
image: apache/incubator-cloudberry:cbdb-build-rocky9-latest
5656
options: >-
@@ -64,6 +64,7 @@ jobs:
6464
uses: actions/checkout@v4
6565
with:
6666
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
67+
submodules: true
6768

6869
- name: Environment Initialization
6970
run: |
@@ -85,7 +86,6 @@ jobs:
8586
/usr/local/cloudberry-db/lib
8687
sudo chown -R gpadmin:gpadmin /usr/local/cloudberry-db
8788
export LD_LIBRARY_PATH=/usr/local/cloudberry-db/lib:LD_LIBRARY_PATH
88-
git submodule update --init
8989
./configure --prefix=/usr/local/cloudberry-db \
9090
--disable-external-fts \
9191
--enable-gpcloud \

0 commit comments

Comments
 (0)