diff --git a/.github/workflows/__export-file-baseline-information.yml b/.github/workflows/__export-file-baseline-information.yml index 86c519d5a..02ae05f45 100644 --- a/.github/workflows/__export-file-baseline-information.yml +++ b/.github/workflows/__export-file-baseline-information.yml @@ -67,6 +67,10 @@ jobs: with: go-version: ${{ inputs.go-version || '>=1.21.0' }} cache: false + - name: Use Xcode 16 + shell: bash + if: runner.os == 'macOS' + run: sudo xcode-select -s "/Applications/Xcode_16.app" - uses: ./../action/init id: init with: diff --git a/.github/workflows/__multi-language-autodetect.yml b/.github/workflows/__multi-language-autodetect.yml index 0d5539ae3..cc791703f 100644 --- a/.github/workflows/__multi-language-autodetect.yml +++ b/.github/workflows/__multi-language-autodetect.yml @@ -93,6 +93,11 @@ jobs: with: go-version: ${{ inputs.go-version || '>=1.21.0' }} cache: false + - name: Use Xcode 16 + shell: bash + if: runner.os == 'macOS' + run: sudo xcode-select -s "/Applications/Xcode_16.app" + - uses: ./../action/init id: init with: diff --git a/.github/workflows/__swift-autobuild.yml b/.github/workflows/__swift-autobuild.yml index 82045f1a4..4263774e6 100644 --- a/.github/workflows/__swift-autobuild.yml +++ b/.github/workflows/__swift-autobuild.yml @@ -48,6 +48,10 @@ jobs: version: ${{ matrix.version }} use-all-platform-bundle: 'false' setup-kotlin: 'true' + - name: Use Xcode 16 + shell: bash + if: runner.os == 'macOS' + run: sudo xcode-select -s "/Applications/Xcode_16.app" - uses: ./../action/init id: init with: diff --git a/.github/workflows/__swift-custom-build.yml b/.github/workflows/__swift-custom-build.yml index c051702e5..5bddf47be 100644 --- a/.github/workflows/__swift-custom-build.yml +++ b/.github/workflows/__swift-custom-build.yml @@ -67,6 +67,10 @@ jobs: with: go-version: ${{ inputs.go-version || '>=1.21.0' }} cache: false + - name: Use Xcode 16 + shell: bash + if: runner.os == 'macOS' + run: sudo xcode-select -s "/Applications/Xcode_16.app" - uses: ./../action/init id: init with: diff --git a/pr-checks/checks/export-file-baseline-information.yml b/pr-checks/checks/export-file-baseline-information.yml index 731377e94..4130b8e3d 100644 --- a/pr-checks/checks/export-file-baseline-information.yml +++ b/pr-checks/checks/export-file-baseline-information.yml @@ -5,6 +5,10 @@ installGo: "true" env: CODEQL_ACTION_SUBLANGUAGE_FILE_COVERAGE: true steps: + - name: Use Xcode 16 + shell: bash + if: runner.os == 'macOS' + run: sudo xcode-select -s "/Applications/Xcode_16.app" - uses: ./../action/init id: init with: diff --git a/pr-checks/checks/multi-language-autodetect.yml b/pr-checks/checks/multi-language-autodetect.yml index d31e51028..546f83714 100644 --- a/pr-checks/checks/multi-language-autodetect.yml +++ b/pr-checks/checks/multi-language-autodetect.yml @@ -3,6 +3,11 @@ description: "An end-to-end integration test of a multi-language repository usin operatingSystems: ["macos", "ubuntu"] installGo: "true" steps: + - name: Use Xcode 16 + shell: bash + if: runner.os == 'macOS' + run: sudo xcode-select -s "/Applications/Xcode_16.app" + - uses: ./../action/init id: init with: diff --git a/pr-checks/checks/swift-autobuild.yml b/pr-checks/checks/swift-autobuild.yml index d7575035f..a86cb2b3c 100644 --- a/pr-checks/checks/swift-autobuild.yml +++ b/pr-checks/checks/swift-autobuild.yml @@ -3,6 +3,10 @@ description: "Tests creation of a Swift database using autobuild" versions: ["nightly-latest"] operatingSystems: ["macos"] steps: + - name: Use Xcode 16 + shell: bash + if: runner.os == 'macOS' + run: sudo xcode-select -s "/Applications/Xcode_16.app" - uses: ./../action/init id: init with: diff --git a/pr-checks/checks/swift-custom-build.yml b/pr-checks/checks/swift-custom-build.yml index a9e32b78a..76404e811 100644 --- a/pr-checks/checks/swift-custom-build.yml +++ b/pr-checks/checks/swift-custom-build.yml @@ -6,6 +6,10 @@ installGo: "true" env: DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" steps: + - name: Use Xcode 16 + shell: bash + if: runner.os == 'macOS' + run: sudo xcode-select -s "/Applications/Xcode_16.app" - uses: ./../action/init id: init with: