From b8b448ab82e86a7b22c6707821b6528f9f6d0ac3 Mon Sep 17 00:00:00 2001 From: odubajDT Date: Fri, 26 Apr 2024 08:36:28 +0200 Subject: [PATCH] ci submodules init Signed-off-by: odubajDT --- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/pr-checks.yml | 7 +++++-- .github/workflows/release-please.yml | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 2e50d11f2..ca27cac55 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -29,7 +29,7 @@ jobs: - name: Check out code uses: actions/checkout@v4 with: - fetch-depth: 0 + submodules: recursive - uses: actions/setup-go@v4 with: diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 98a06f9b6..2ff0623c0 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -44,7 +44,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - fetch-depth: 0 + submodules: recursive - name: Unit Test run: make unit-test @@ -61,6 +61,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + submodules: recursive + - name: Set up QEMU uses: docker/setup-qemu-action@master with: @@ -110,7 +113,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + submodules: recursive - name: Download image uses: actions/download-artifact@v3 diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 061e5c844..65ea6a758 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -50,6 +50,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ needs.release-please.outputs.release_tag_name }} + submodules: recursive - name: Log in to the Container registry uses: docker/login-action@a9794064588be971151ec5e7144cb535bcb56e36 @@ -116,6 +117,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ needs.release-please.outputs.release_tag_name }} + submodules: recursive - name: Setup go uses: actions/setup-go@v4 @@ -152,6 +154,7 @@ jobs: with: fetch-depth: 0 ref: ${{ env.GITHUB_PAGES_BRANCH }} + submodules: recursive - name: Setup go uses: actions/setup-go@v4