diff --git a/.github/workflows/swift_6_language_mode.yml b/.github/workflows/swift_6_language_mode.yml index 15ecb2c6f3..29a11a5806 100644 --- a/.github/workflows/swift_6_language_mode.yml +++ b/.github/workflows/swift_6_language_mode.yml @@ -19,6 +19,7 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false + submodules: true - name: Set the language mode run: swift package tools-version --set 6.0 - name: Build with Swift 6 language mode diff --git a/.github/workflows/swift_matrix.yml b/.github/workflows/swift_matrix.yml index a5d0b798b6..4c4734cbb6 100644 --- a/.github/workflows/swift_matrix.yml +++ b/.github/workflows/swift_matrix.yml @@ -130,6 +130,7 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false + submodules: true - name: Mark the workspace as safe if: ${{ matrix.swift.enabled }} # https://github.com/actions/checkout/issues/766 @@ -199,6 +200,7 @@ jobs: uses: actions/checkout@v4 with: persist-credentials: false + submodules: true - name: Donwload matrix script if: ${{ matrix.swift.enabled }} run: curl -s https://raw.githubusercontent.com/apple/swift-nio/main/scripts/check-matrix-job.ps1 -o __check-matrix-job.ps1