This repository was archived by the owner on Mar 23, 2025. It is now read-only.
File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 49
49
- uses : actions/checkout@v2
50
50
- name : Modify Cartfile.resolved
51
51
run : sed -i '' -E '/apollographql\/apollo-ios/s/"[0-9.]+"/"${{ matrix.apollo }}"/' Cartfile.resolved
52
+ - uses : ruby/setup-ruby@v1
53
+ with :
54
+ ruby-version : 2.6
55
+ bundler-cache : true
56
+ env :
57
+ BUNDLE_WITHOUT : development:documentation
52
58
- uses : actions/cache@v2
53
59
id : cache-carthage-build
54
60
with :
60
66
carthage checkout
61
67
( cd Carthage/Checkouts/apollo-ios && swift package resolve ) # Workaround for Carthage's timeout error while reading xcodeproj.
62
68
carthage build --platform '${{ matrix.platform }}' --cache-builds --use-xcframeworks --no-use-binaries
63
- - name : Install Ruby dependencies
64
- run : bundle install
65
- env :
66
- BUNDLE_WITHOUT : development:documentation
67
69
- name : Run unit tests
68
70
run : xcodebuild test -project ApolloDeveloperKit.xcodeproj -scheme ApolloDeveloperKit -sdk '${{ matrix.sdk }}' -destination '${{ matrix.destination }}' | xcpretty
69
71
- name : Collect coverages
88
90
runs-on : macOS-10.15
89
91
steps :
90
92
- uses : actions/checkout@v2
91
- - name : Install dependencies
92
- run : bundle install
93
+ - uses : ruby/setup-ruby@v1
94
+ with :
95
+ ruby-version : 2.6
96
+ bundler-cache : true
93
97
env :
94
98
BUNDLE_WITHOUT : documentation:test
95
99
- name : Lint podspec
You can’t perform that action at this time.
0 commit comments