From c53eae6532fb716c08e01036e91f5a31b7b4b34a Mon Sep 17 00:00:00 2001 From: ricky Date: Thu, 2 Dec 2021 21:11:54 -0800 Subject: [PATCH] Try to fix the CI (#2047) It looks like github updated so that `macos-latest` is now macos-11. It can't find Xcode_11_5. Let's try to set the runs-on version explicitly and see if some magic happens. also allow warnings for podlint because that started failing too --- .github/workflows/ci-master-only.yml | 2 +- .github/workflows/ci-pull-requests-only.yml | 2 +- .github/workflows/ci.yml | 2 +- build.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-master-only.yml b/.github/workflows/ci-master-only.yml index a58671d5c..0362e641a 100644 --- a/.github/workflows/ci-master-only.yml +++ b/.github/workflows/ci-master-only.yml @@ -10,7 +10,7 @@ jobs: env: DEVELOPER_DIR: /Applications/Xcode_11.5.app/Contents/Developer name: Verify that podspec lints - runs-on: macOS-latest + runs-on: macos-10.15 steps: - name: Checkout the Git repository uses: actions/checkout@v2 diff --git a/.github/workflows/ci-pull-requests-only.yml b/.github/workflows/ci-pull-requests-only.yml index 859b525c7..f4d550f9d 100644 --- a/.github/workflows/ci-pull-requests-only.yml +++ b/.github/workflows/ci-pull-requests-only.yml @@ -18,7 +18,7 @@ jobs: - mode: cocoapods-lint-other-subspecs name: Verify that other subspecs lint name: ${{ matrix.name }} - runs-on: macOS-latest + runs-on: macos-10.15 steps: - name: Checkout the Git repository uses: actions/checkout@v2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb2212d03..27d20ade9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: - mode: examples-pt4 name: Build examples (examples-pt4) name: ${{ matrix.name }} - runs-on: macOS-latest + runs-on: macos-10.15 steps: - name: Checkout the Git repository uses: actions/checkout@v2 diff --git a/build.sh b/build.sh index 547194124..eccbbcbe6 100755 --- a/build.sh +++ b/build.sh @@ -66,7 +66,7 @@ function build_example { # Lint subspec function lint_subspec { - set -o pipefail && pod env && pod lib lint --subspec="$1" + set -o pipefail && pod env && pod lib lint --allow-warnings --subspec="$1" } function cleanup {