Skip to content

Commit

Permalink
Try to fix the CI (#2047)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rcancro committed Dec 3, 2021
1 parent e3bdf89 commit c53eae6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-master-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-pull-requests-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c53eae6

Please sign in to comment.