diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index bfaee7a03..047dd13b3 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,7 +27,7 @@ jobs: # - https://gh.io/supported-runners-and-hardware-resources # - https://gh.io/using-larger-runners # Consider using larger runners for possible analysis time improvements. - runs-on: ${{ (matrix.language == 'swift' && 'macos-14') || 'ubuntu-latest' }} + runs-on: ${{ (matrix.language == 'swift' && 'macos-13') || 'ubuntu-latest' }} timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} permissions: actions: read @@ -44,6 +44,12 @@ jobs: # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support steps: + - name: Setup Xcode Version + if: matrix.language == 'swift' + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.1' + - name: Checkout repository uses: actions/checkout@v4