From: Florian Forster Date: Mon, 4 Dec 2023 16:43:49 +0000 (+0100) Subject: GitHub Actions: Fetch submodules when checking out the repository. X-Git-Tag: 6.0.0-rc0~17^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f4af0fc40f7f52ab93aa06d3ae95de3c94935d96;p=thirdparty%2Fcollectd.git GitHub Actions: Fetch submodules when checking out the repository. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1bcde27d..576da7e3c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,7 +47,9 @@ jobs: # this env var picked up by valgrind during make check phase VALGRIND_OPTS: "--errors-for-leak-kinds=definite" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + with: + submodules: true - run: type pkg-config - run: pkg-config --list-all | sort -u - name: Generate configure script @@ -106,7 +108,9 @@ jobs: CONFIGURE_FLAGS: ${{ matrix.configure_flags }} VALGRIND_OPTS: "--errors-for-leak-kinds=definite" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + with: + submodules: true - run: type pkg-config - run: pkg-config --list-all | sort -u - name: Generate configure script diff --git a/.github/workflows/distcheck.yml b/.github/workflows/distcheck.yml index d63cc5681..30494b7b9 100644 --- a/.github/workflows/distcheck.yml +++ b/.github/workflows/distcheck.yml @@ -22,6 +22,8 @@ jobs: VALGRIND_OPTS: "--errors-for-leak-kinds=definite" steps: - uses: actions/checkout@v4 + with: + submodules: true - name: Install bzip2 run: apt install -y bzip2 - name: Print available packages