Skip to content

Commit c53eae6

Browse files
authored
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
1 parent e3bdf89 commit c53eae6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/ci-master-only.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
env:
1111
DEVELOPER_DIR: /Applications/Xcode_11.5.app/Contents/Developer
1212
name: Verify that podspec lints
13-
runs-on: macOS-latest
13+
runs-on: macos-10.15
1414
steps:
1515
- name: Checkout the Git repository
1616
uses: actions/checkout@v2

.github/workflows/ci-pull-requests-only.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- mode: cocoapods-lint-other-subspecs
1919
name: Verify that other subspecs lint
2020
name: ${{ matrix.name }}
21-
runs-on: macOS-latest
21+
runs-on: macos-10.15
2222
steps:
2323
- name: Checkout the Git repository
2424
uses: actions/checkout@v2

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- mode: examples-pt4
2828
name: Build examples (examples-pt4)
2929
name: ${{ matrix.name }}
30-
runs-on: macOS-latest
30+
runs-on: macos-10.15
3131
steps:
3232
- name: Checkout the Git repository
3333
uses: actions/checkout@v2

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function build_example {
6666

6767
# Lint subspec
6868
function lint_subspec {
69-
set -o pipefail && pod env && pod lib lint --subspec="$1"
69+
set -o pipefail && pod env && pod lib lint --allow-warnings --subspec="$1"
7070
}
7171

7272
function cleanup {

0 commit comments

Comments
 (0)