File tree Expand file tree Collapse file tree 3 files changed +31
-32
lines changed Expand file tree Collapse file tree 3 files changed +31
-32
lines changed Original file line number Diff line number Diff line change 77 runs-on : macos-12
88
99 steps :
10- - uses : actions/checkout@v2
11-
12- -
uses :
maxim-lobanov/[email protected] 13- with :
14- xcode-version : latest
10+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1511
16- - name : Build and test
17- run : |
18- xcodebuild test -project swift-sdk.xcodeproj -scheme swift-sdk -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 13 Pro Max' -enableCodeCoverage YES CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]}
19-
20- - name : CocoaPods lint
21- run : pod lib lint
12+ - uses : maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
13+ with :
14+ xcode-version : latest
2215
23- - name : Upload coverage report to codecov.io
24- run : bash <(curl -s https://codecov.io/bash) -X gcov -J 'IterableSDK' -J 'IterableAppExtensions'
16+ - name : Build and test
17+ run : |
18+ xcodebuild test -project swift-sdk.xcodeproj -scheme swift-sdk -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 13 Pro Max' -enableCodeCoverage YES CODE_SIGNING_REQUIRED=NO | xcpretty && exit ${PIPESTATUS[0]}
19+
20+ - name : CocoaPods lint
21+ run : pod lib lint
22+
23+ - name : Upload coverage report to codecov.io
24+ run : bash <(curl -s https://codecov.io/bash) -X gcov -J 'IterableSDK' -J 'IterableAppExtensions'
Original file line number Diff line number Diff line change @@ -5,22 +5,21 @@ on: pull_request
55jobs :
66 run-e2e-job :
77 runs-on : macos-latest
8-
8+
99 steps :
10- - uses : actions/checkout@v2
11-
12- - uses : maxim-lobanov/setup-xcode@v1.3 .0
13- with :
14- xcode-version : 13.0
10+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
11+
12+ - uses : maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6 .0
13+ with :
14+ xcode-version : 13.0
1515
16- - name : Build and test
17- env :
18- api_key : ${{secrets.E2E_API_KEY}}
19- server_api_key : ${{secrets.E2E_SERVER_API_KEY}}
20- push_campaign_id : ${{secrets.E2E_PUSH_CAMPAIGN_ID}}
21- push_template_id : ${{secrets.E2E_PUSH_TEMPLATE_ID}}
22- in_app_campaign_id : ${{secrets.E2E_IN_APP_CAMPAIGN_ID}}
23- in_app_template_id : ${{secrets.E2E_IN_APP_TEMPLATE_ID}}
24- run : |
25- ./tests/endpoint-tests/scripts/run_test.sh
26-
16+ - name : Build and test
17+ env :
18+ api_key : ${{secrets.E2E_API_KEY}}
19+ server_api_key : ${{secrets.E2E_SERVER_API_KEY}}
20+ push_campaign_id : ${{secrets.E2E_PUSH_CAMPAIGN_ID}}
21+ push_template_id : ${{secrets.E2E_PUSH_TEMPLATE_ID}}
22+ in_app_campaign_id : ${{secrets.E2E_IN_APP_CAMPAIGN_ID}}
23+ in_app_template_id : ${{secrets.E2E_IN_APP_TEMPLATE_ID}}
24+ run : |
25+ ./tests/endpoint-tests/scripts/run_test.sh
Original file line number Diff line number Diff line change 3434 runs-on : macos-latest
3535
3636 steps :
37- - uses : actions/checkout@v4
38- - uses : ruby/setup-ruby@v1
37+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
38+ - uses : ruby/setup-ruby@6bd3d993c602f6b675728ebaecb2b569ff86e99b # v1.174.0
3939 with :
4040 ruby-version : " 3.2"
4141 bundler-cache : true
You can’t perform that action at this time.
0 commit comments