diff --git a/.github/workflows/generated_code_checks.yml b/.github/workflows/generated_code_checks.yml index 9a4facb0..09b26cc0 100644 --- a/.github/workflows/generated_code_checks.yml +++ b/.github/workflows/generated_code_checks.yml @@ -8,8 +8,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - with: - submodules: true + - name: Checkout submodules + - run: git submodule update --init --depth=0 - name: Set up Go uses: actions/setup-go@v3 with: diff --git a/.github/workflows/maintenance.yaml b/.github/workflows/maintenance.yaml index 630f01d6..f6d9fc84 100644 --- a/.github/workflows/maintenance.yaml +++ b/.github/workflows/maintenance.yaml @@ -9,8 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - with: - submodules: true + - run: git submodule update --init --depth=0 - uses: actions/setup-go@v3 with: go-version-file: 'go.mod'