@@ -17,16 +17,16 @@ jobs:
17
17
# Only run this job when the base branch is master
18
18
if : github.event.pull_request.base.ref == 'master'
19
19
runs-on : macos-latest
20
- timeout-minutes : 10
20
+ timeout-minutes : 15
21
21
22
22
steps :
23
23
- name : Checkout Repository
24
- uses : actions/checkout@v3
24
+ uses : actions/checkout@v4
25
25
26
26
- name : Set up Xcode
27
27
uses : maxim-lobanov/setup-xcode@v1
28
28
with :
29
- xcode-version : ' 16.1.0 '
29
+ xcode-version : ' 16.2 '
30
30
31
31
- name : Run Linter Check
32
32
run : |
37
37
38
38
- name : Post Lint Test Results to PR
39
39
if : github.event_name == 'pull_request' && success()
40
- uses : actions/github-script@v6
40
+ uses : actions/github-script@v7
41
41
with :
42
42
script : |
43
43
const comment = `✅ **iOS Lint Test Result**\nCongratulations! Linter Check Passed Successfully 🎉`;
@@ -65,17 +65,17 @@ jobs:
65
65
build-and-test :
66
66
name : Build and Test
67
67
runs-on : macos-latest
68
- timeout-minutes : 45
68
+ timeout-minutes : 90
69
69
70
70
steps :
71
71
# Step 1: Checkout the code
72
72
- name : Checkout Repository
73
- uses : actions/checkout@v3
73
+ uses : actions/checkout@v4
74
74
75
75
# Step 2: Fetch PR Branch Information
76
76
- name : Fetch PR Comments
77
77
id : fetch-branches
78
- uses : actions/github-script@v6
78
+ uses : actions/github-script@v7
79
79
with :
80
80
script : |
81
81
const prBody = context.payload.pull_request?.body;
@@ -101,7 +101,7 @@ jobs:
101
101
- name : Set up Xcode
102
102
uses : maxim-lobanov/setup-xcode@v1
103
103
with :
104
- xcode-version : ' 16.1.0 '
104
+ xcode-version : ' 16.2 '
105
105
106
106
# Step 4: Set Environment Variables
107
107
- name : Set Environment Variables
@@ -209,7 +209,7 @@ jobs:
209
209
# Step 9: Post Test Results as a PR Comment
210
210
- name : Post Test Results to PR
211
211
if : github.event_name == 'pull_request'
212
- uses : actions/github-script@v6
212
+ uses : actions/github-script@v7
213
213
with :
214
214
script : |
215
215
const fs = require('fs');
0 commit comments