File tree Expand file tree Collapse file tree 9 files changed +198
-132
lines changed Expand file tree Collapse file tree 9 files changed +198
-132
lines changed Original file line number Diff line number Diff line change
1
+ name : iOS review
2
+
3
+ on : pull_request
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - name : Apply Ruby
11
+ uses : actions/setup-ruby@v1
12
+ with :
13
+ ruby-version : ' 2.x'
14
+ - uses : actions/cache@v1
15
+ with :
16
+ path : vendor/bundle
17
+ key : ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
18
+ restore-keys : |
19
+ ${{ runner.os }}-gems-
20
+ - name : Bundle install
21
+ run : |
22
+ bundle config path vendor/bundle
23
+ bundle install --jobs 4 --retry 3
24
+ - name : Run Danger
25
+ run : bundle exec danger
26
+ env :
27
+ DANGER_GITHUB_API_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
+ - name : Fetch base ref
29
+ run : git fetch --no-tags --prune --depth=1 origin ${{ github.base_ref }}
30
+ - name : Run SwiftLint
31
+ uses :
norio-nomura/[email protected]
32
+ with :
33
+ args : --force-exclude
34
+ env :
35
+ DIFF_BASE : origin/${{ github.base_ref }}
Original file line number Diff line number Diff line change
1
+ name : iOS build
2
+
3
+ on : push
4
+
5
+ jobs :
6
+ build :
7
+ runs-on : macos-latest
8
+ steps :
9
+ - uses : actions/checkout@v1
10
+ - name : Apply Ruby
11
+ uses : actions/setup-ruby@v1
12
+ with :
13
+ ruby-version : ' 2.x'
14
+ - uses : actions/cache@v1
15
+ with :
16
+ path : vendor/bundle
17
+ key : ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
18
+ restore-keys : |
19
+ ${{ runner.os }}-gems-
20
+ - uses : actions/cache@v1
21
+ with :
22
+ path : Pods
23
+ key : ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
24
+ restore-keys : |
25
+ ${{ runner.os }}-pods-
26
+ - name : Install and setup
27
+ run : |
28
+ bundle config path vendor/bundle
29
+ make bootstrap
30
+ - name : Run Fastlane Build
31
+ run : |
32
+ xcrun instruments -s devices
33
+ xcrun instruments -w "Apple TV (13.3)" || true
34
+ bundle exec fastlane scan --device "Apple TV (13.3)"
35
+ - name : Send coverage to Codecov
36
+ run : bash <(curl -s https://codecov.io/bash)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11
11
* Replace Freddy with Swift Codable [ #11 ] ( https://github.com/polydice/iCook-tvOS/pull/11 )
12
12
* Replace Quick and Nimble with XCTest [ #12 ] ( https://github.com/polydice/iCook-tvOS/pull/12 )
13
13
* Swift 5 [ #13 ] ( https://github.com/polydice/iCook-tvOS/pull/13 )
14
+ * Update gems and migrate to GitHub Actions [ #14 ] ( https://github.com/polydice/iCook-tvOS/pull/14 )
14
15
15
16
## v1.0.0
16
17
You can’t perform that action at this time.
0 commit comments