Skip to content

Commit b0223fd

Browse files
Update GitHub Actions and dependencies (#3163)
1 parent 1e78269 commit b0223fd

11 files changed

Lines changed: 269 additions & 125 deletions

.github/workflows/browser-compatibility-test-previous-major-version.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
previous_version_number: ${{ steps.get-version.outputs.version-number }}
2929
steps:
3030
- name: Checkout Package
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v4
3232
with:
3333
fetch-depth: 0
3434
- name: Get Version
@@ -46,7 +46,7 @@ jobs:
4646
job-status: ${{ job.status }}
4747
steps:
4848
- name: Checkout Package
49-
uses: actions/checkout@v2
49+
uses: actions/checkout@v4
5050
with:
5151
ref: "release-${{ needs.get-previous-version.outputs.previous_version_number }}.x"
5252
fetch-depth: 0
@@ -68,7 +68,7 @@ jobs:
6868

6969
steps:
7070
- name: Checkout Package
71-
uses: actions/checkout@v2
71+
uses: actions/checkout@v4
7272
with:
7373
ref: "release-${{ needs.get-previous-version.outputs.previous_version_number }}.x"
7474
fetch-depth: 0
@@ -91,7 +91,7 @@ jobs:
9191

9292
steps:
9393
- name: Checkout Package
94-
uses: actions/checkout@v2
94+
uses: actions/checkout@v4
9595
with:
9696
ref: "release-${{ needs.get-previous-version.outputs.previous_version_number }}.x"
9797
fetch-depth: 0
@@ -114,7 +114,7 @@ jobs:
114114

115115
steps:
116116
- name: Checkout Package
117-
uses: actions/checkout@v2
117+
uses: actions/checkout@v4
118118
with:
119119
ref: "release-${{ needs.get-previous-version.outputs.previous_version_number }}.x"
120120
fetch-depth: 0
@@ -137,7 +137,7 @@ jobs:
137137

138138
steps:
139139
- name: Checkout Package
140-
uses: actions/checkout@v2
140+
uses: actions/checkout@v4
141141
with:
142142
ref: "release-${{ needs.get-previous-version.outputs.previous_version_number }}.x"
143143
fetch-depth: 0
@@ -160,7 +160,7 @@ jobs:
160160

161161
steps:
162162
- name: Checkout Package
163-
uses: actions/checkout@v2
163+
uses: actions/checkout@v4
164164
with:
165165
ref: "release-${{ needs.get-previous-version.outputs.previous_version_number }}.x"
166166
fetch-depth: 0
@@ -183,7 +183,7 @@ jobs:
183183

184184
steps:
185185
- name: Checkout Package
186-
uses: actions/checkout@v2
186+
uses: actions/checkout@v4
187187
with:
188188
ref: "release-${{ needs.get-previous-version.outputs.previous_version_number }}.x"
189189
fetch-depth: 0
@@ -207,7 +207,7 @@ jobs:
207207

208208
steps:
209209
- name: Checkout Package
210-
uses: actions/checkout@v2
210+
uses: actions/checkout@v4
211211
with:
212212
ref: "release-${{ needs.get-previous-version.outputs.previous_version_number }}.x"
213213
fetch-depth: 0
@@ -231,7 +231,7 @@ jobs:
231231

232232
steps:
233233
- name: Checkout Package
234-
uses: actions/checkout@v2
234+
uses: actions/checkout@v4
235235
with:
236236
ref: "release-${{ needs.get-previous-version.outputs.previous_version_number }}.x"
237237
fetch-depth: 0
@@ -255,7 +255,7 @@ jobs:
255255

256256
steps:
257257
- name: Checkout Package
258-
uses: actions/checkout@v2
258+
uses: actions/checkout@v4
259259
with:
260260
ref: "release-${{ needs.get-previous-version.outputs.previous_version_number }}.x"
261261
fetch-depth: 0
@@ -282,11 +282,11 @@ jobs:
282282

283283
steps:
284284
- name: Checkout Package
285-
uses: actions/checkout@v2
285+
uses: actions/checkout@v4
286286
with:
287287
fetch-depth: 0
288288
- name: Setup Node.js - 20.x
289-
uses: actions/setup-node@v1
289+
uses: actions/setup-node@v4
290290
with:
291291
node-version: 20.x
292292
- name: Gather Job Status Data
@@ -312,7 +312,7 @@ jobs:
312312
- name: Send Slack Message
313313
run: node .github/script/send-test-report.js ${{ secrets.SLACK_JS_SDK_DEV_CORE_PREV_VER_WEBHOOK }} ${{ env.WORKFLOW_URL}} ${{ env.WORKFLOW_JOBS_STATUS }}
314314
- name: Configure AWS Credentials
315-
uses: aws-actions/configure-aws-credentials@v2
315+
uses: aws-actions/configure-aws-credentials@v4
316316
with:
317317
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME_SDK_DEV }}
318318
aws-region: us-east-1

.github/workflows/browser-compatibility-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Checkout Package
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
3131
with:
3232
fetch-depth: 0
3333
- name: Setup GitHub Actions Host

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout Package
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 0
2424
- name: Using Node.js 20.x
25-
uses: actions/setup-node@v1
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: 20.x
2828
- name: Clean Install
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: Checkout Package
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v4
3939
with:
4040
fetch-depth: 0
4141
- name: Setup GitHub Actions Host
@@ -54,7 +54,7 @@ jobs:
5454
runs-on: ubuntu-latest
5555
steps:
5656
- name: Checkout Package
57-
uses: actions/checkout@v2
57+
uses: actions/checkout@v4
5858
with:
5959
fetch-depth: 0
6060
- name: Setup GitHub Actions Host
@@ -73,7 +73,7 @@ jobs:
7373
runs-on: ubuntu-latest
7474
steps:
7575
- name: Checkout Package
76-
uses: actions/checkout@v2
76+
uses: actions/checkout@v4
7777
with:
7878
fetch-depth: 0
7979
- name: Setup GitHub Actions Host

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
role-session-name: deploy-demo-app
2727
aws-region: us-east-1
2828
- name: Checkout Package
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
3232
- name: Install SAM CLI
@@ -52,7 +52,7 @@ jobs:
5252
role-session-name: deploy-demo-app
5353
aws-region: us-east-1
5454
- name: Checkout Package
55-
uses: actions/checkout@v2
55+
uses: actions/checkout@v4
5656
with:
5757
fetch-depth: 0
5858
- name: Install SAM CLI

.github/workflows/prev-version-integration.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323

2424
steps:
2525
- name: Setup Node.js - 20.x
26-
uses: actions/setup-node@v1
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: 20.x
2929
- name: Checkout Package
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
3131
with:
3232
fetch-depth: 0
3333
- name: Get previous version
@@ -38,7 +38,7 @@ jobs:
3838
echo "prev_version=$prev_version" >> $GITHUB_OUTPUT
3939
- name: Create a Job ID
4040
id: create-job-id
41-
uses: filipstefansson/uuid-action@ce29ebbb0981ac2448c2e406e848bfaa30ddf04c
41+
uses: filipstefansson/uuid-action@v1
4242
- name: Set JOB_ID Env Variable
4343
run: echo "JOB_ID=${{ steps.create-job-id.outputs.uuid }}" >> $GITHUB_ENV
4444
- name: Echo Job ID
@@ -50,7 +50,7 @@ jobs:
5050
role-session-name: ${{ env.TEST_TYPE }}
5151
aws-region: us-east-1
5252
- name: Setup Sauce Connect
53-
uses: saucelabs/sauce-connect-action@v2
53+
uses: saucelabs/sauce-connect-action@v3
5454
with:
5555
username: ${{ secrets.SAUCE_USERNAME }}
5656
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout Package
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
with:
1818
ref: ${{ github.event.release.tag_name }}
1919
- name: Setup Node environment
@@ -80,7 +80,7 @@ jobs:
8080
role-session-name: publish-demo-deployment
8181
aws-region: us-east-1
8282
- name: Checkout Package
83-
uses: actions/checkout@v2
83+
uses: actions/checkout@v4
8484
with:
8585
ref: ${{ github.event.release.tag_name }}
8686
- name: Install SDK

.github/workflows/release-backwards-compatiblity.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run-check: ${{ steps.version-check.outputs.run-check }}
3232
steps:
3333
- name: Checkout Package
34-
uses: actions/checkout@v2
34+
uses: actions/checkout@v4
3535
with:
3636
fetch-depth: 0
3737
- name: Version check for backward compatibility check
@@ -45,11 +45,11 @@ jobs:
4545
if: contains(needs.check-backward-compatibility-run.outputs.run-check, 'Run backward compatibility checks')
4646
steps:
4747
- name: Setup Node.js - 20.x
48-
uses: actions/setup-node@v1
48+
uses: actions/setup-node@v4
4949
with:
5050
node-version: 20.x
5151
- name: Checkout Package
52-
uses: actions/checkout@v2
52+
uses: actions/checkout@v4
5353
with:
5454
fetch-depth: 0
5555
- name: Pack the Chime SDK and install the tarball into the previous version Demo
@@ -68,7 +68,7 @@ jobs:
6868
role-session-name: ${{ env.TEST_TYPE }}
6969
aws-region: us-east-1
7070
- name: Setup Sauce Connect
71-
uses: saucelabs/sauce-connect-action@v2
71+
uses: saucelabs/sauce-connect-action@v3
7272
with:
7373
username: ${{ secrets.SAUCE_USERNAME }}
7474
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}

.github/workflows/webview-ui-test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1616
steps:
1717
- name: Checkout amazon-chime-sdk repo
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
with:
2020
repository: 'aws-samples/amazon-chime-sdk'
2121
- name: Insert meeting demo URL
@@ -35,15 +35,16 @@ jobs:
3535
if: ${{ github.event.workflow_run.conclusion == 'success' }}
3636
steps:
3737
- name: Checkout amazon-chime-sdk repo
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v4
3939
with:
4040
repository: 'aws-samples/amazon-chime-sdk'
4141
- name: Insert Android meeting demo URL
4242
run: |
4343
sed -i '' -e 's@PLACEHOLDER@${{secrets.DEPLOYED_MEETING_DEMO}}@' ./app/src/main/java/com/amazonaws/android_webview_sample/AppConfig.kt
4444
- name: Set Up JDK 11.0.11
45-
uses: actions/setup-java@v1
45+
uses: actions/setup-java@v4
4646
with:
47+
distribution: temurin
4748
java-version: 11.0.11
4849
- name: Build the App
4950
run: ./gradlew build

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,4 @@ node_modules
2323
src/versioning/version.ts
2424
*.tsbuildinfo
2525
.kiro
26-
27-
# ESLint cache
2826
.eslintcache

0 commit comments

Comments
 (0)