diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4b47d6..03705e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,7 @@ jobs: - backend: iOS runs-on: macos-latest briefcase-target: "iOS" - briefcase-run-args: ' -d "iPhone SE (3rd generation)"' + briefcase-run-args: ' -d "iPhone SE (3rd generation)::iOS 18.5"' - backend: android runs-on: ubuntu-latest @@ -124,6 +124,16 @@ jobs: python-version: ${{ matrix.python-version }} allow-prereleases: true + - name: Prepare macOS + # GitHub recommends explicitly selecting the desired Xcode version: + # https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140 + # This became a necessity as a result of + # https://github.com/actions/runner-images/issues/12541 and + # https://github.com/actions/runner-images/issues/12751. + if: matrix.runs-on == 'macos-latest' + run: | + sudo xcode-select --switch /Applications/Xcode_16.4.app + - name: Install Dependencies run: ${{ matrix.pre-command }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 187fe9e..736478f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/PyCQA/docformatter - rev: v1.7.8-rc1 + rev: v1.7.7 hooks: - id: docformatter args: [--in-place, --black]