Skip to content

Commit 6216293

Browse files
fix(deps): update all dependencies (#3671)
* fix(deps): update all dependencies * fix: not ready to bump eslint yet * fix: can't upgrade to esm-only version of 'got' yet * chore: bump node version * chore: skip e2e test (b/358734748) --------- Co-authored-by: Tony Pujals <[email protected]> Co-authored-by: Tony Pujals <[email protected]>
1 parent 620fb04 commit 6216293

File tree

175 files changed

+483
-482
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

175 files changed

+483
-482
lines changed

.github/workflows/ai-platform-snippets.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
- uses: actions/[email protected]
4444
with:
4545
ref: ${{github.event.pull_request.head.sha}}
46-
- uses: 'google-github-actions/auth@v1.1.1'
46+
- uses: 'google-github-actions/auth@v2.1.3'
4747
with:
4848
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4949
service_account: '[email protected]'
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
53+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5454
with:
5555
secrets: |-
5656
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
@@ -62,7 +62,7 @@ jobs:
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@v3
65+
- uses: actions/cache@v4
6666
id: npm-cache
6767
with:
6868
path: ${{ steps.npm-cache-dir.outputs.dir }}

.github/workflows/dialogflow-cx.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
- uses: actions/[email protected]
4444
with:
4545
ref: ${{github.event.pull_request.head.sha}}
46-
- uses: 'google-github-actions/auth@v1.1.1'
46+
- uses: 'google-github-actions/auth@v2.1.3'
4747
with:
4848
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4949
service_account: '[email protected]'
5050
create_credentials_file: 'true'
5151
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
53+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5454
with:
5555
secrets: |-
5656
agent_id:nodejs-docs-samples-tests/nodejs-docs-samples-dialogflow-cx-agent-id
@@ -62,7 +62,7 @@ jobs:
6262
id: npm-cache-dir
6363
shell: bash
6464
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@v3
65+
- uses: actions/cache@v4
6666
id: npm-cache
6767
with:
6868
path: ${{ steps.npm-cache-dir.outputs.dir }}

.github/workflows/flakybot.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ jobs:
2929
id-token: 'write'
3030
steps:
3131
- name: authenticate
32-
uses: 'google-github-actions/auth@v1'
32+
uses: 'google-github-actions/auth@v2'
3333
with:
3434
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
3535
service_account: '[email protected]'
3636
create_credentials_file: 'true'
3737
access_token_lifetime: 600s
3838
- name: download test results
39-
uses: actions/download-artifact@v3
39+
uses: actions/download-artifact@v4
4040
with:
4141
name: test-results
4242
- name: download FlakyBot
4343
run: |
4444
curl -s -L https://github.com/googleapis/repo-automation-bots/archive/refs/tags/flakybot-v${{ env.FLAKYBOT_VERSION }}.tar.gz -o flakybot.tar.gz
4545
tar xzf flakybot.tar.gz
4646
cp -rT repo-automation-bots-flakybot-v${{ env.FLAKYBOT_VERSION}}/packages/flakybot/ .
47-
- uses: actions/setup-go@v4
47+
- uses: actions/setup-go@v5
4848
with:
4949
cache: true
5050
cache-dependency-path: '${{ github.workspace }}/go.sum'

.github/workflows/functions-slack.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,29 +42,29 @@ jobs:
4242
steps:
4343
- uses: actions/[email protected]
4444
with:
45-
ref: ${{github.event.pull_request.head.sha}}
46-
- uses: 'google-github-actions/auth@v1.1.1'
45+
ref: ${{github.event.pull_request.head.sha}}
46+
- uses: 'google-github-actions/auth@v2.1.3'
4747
with:
48-
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
49-
service_account: '[email protected]'
50-
create_credentials_file: 'true'
51-
access_token_lifetime: 600s
48+
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
49+
service_account: '[email protected]'
50+
create_credentials_file: 'true'
51+
access_token_lifetime: 600s
5252
- id: secrets
53-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
54-
with:
53+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
54+
with:
5555
secrets: |-
5656
slack_secret:nodejs-docs-samples-tests/nodejs-docs-samples-slack-secret
5757
kg_api_key:nodejs-docs-samples-tests/nodejs-docs-samples-kg-api-key
5858
- uses: actions/[email protected]
5959
with:
6060
node-version: 16
6161
- name: Get npm cache directory
62-
id: npm-cache-dir
63-
shell: bash
64-
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65-
- uses: actions/cache@v3
66-
id: npm-cache
67-
with:
62+
id: npm-cache-dir
63+
shell: bash
64+
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
65+
- uses: actions/cache@v4
66+
id: npm-cache
67+
with:
6868
path: ${{ steps.npm-cache-dir.outputs.dir }}
6969
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
7070
restore-keys: |

.github/workflows/generative-ai-snippets.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
- uses: actions/[email protected]
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/auth@v1.1.1'
49+
- uses: 'google-github-actions/auth@v2.1.3'
5050
with:
5151
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5252
service_account: '[email protected]'
5353
create_credentials_file: 'true'
5454
access_token_lifetime: 600s
5555
- id: secrets
56-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
56+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5757
with:
5858
secrets: |-
5959
caip_id:nodejs-docs-samples-tests/nodejs-docs-samples-ai-platform-caip-project-id
@@ -66,7 +66,7 @@ jobs:
6666
id: npm-cache-dir
6767
shell: bash
6868
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
69-
- uses: actions/cache@v3
69+
- uses: actions/cache@v4
7070
id: npm-cache
7171
with:
7272
path: ${{ steps.npm-cache-dir.outputs.dir }}

.github/workflows/iam-deny.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- uses: actions/[email protected]
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/auth@v1.1.1'
49+
- uses: 'google-github-actions/auth@v2.1.3'
5050
with:
5151
workload_identity_provider: 'projects/949737848314/locations/global/workloadIdentityPools/iam-deny-test-pool/providers/iam-deny-test-provider'
5252
service_account: '[email protected]'
@@ -59,7 +59,7 @@ jobs:
5959
id: npm-cache-dir
6060
shell: bash
6161
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
62-
- uses: actions/cache@v3
62+
- uses: actions/cache@v4
6363
id: npm-cache
6464
with:
6565
path: ${{ steps.npm-cache-dir.outputs.dir }}

.github/workflows/security-center-snippets.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- uses: actions/[email protected]
4949
with:
5050
ref: ${{github.event.pull_request.head.sha}}
51-
- uses: 'google-github-actions/auth@v1.1.1'
51+
- uses: 'google-github-actions/auth@v2.1.3'
5252
with:
5353
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5454
service_account: '[email protected]'
@@ -61,7 +61,7 @@ jobs:
6161
id: npm-cache-dir
6262
shell: bash
6363
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
64-
- uses: actions/cache@v3
64+
- uses: actions/cache@v4
6565
id: npm-cache
6666
with:
6767
path: ${{ steps.npm-cache-dir.outputs.dir }}

.github/workflows/storagetransfer.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
- uses: actions/[email protected]
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/auth@v1.1.1'
49+
- uses: 'google-github-actions/auth@v2.1.3'
5050
with:
5151
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5252
service_account: '[email protected]'
5353
create_credentials_file: 'true'
5454
access_token_lifetime: 600s
5555
- id: secrets
56-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
56+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5757
with:
5858
secrets: |-
5959
sts_aws_secret:nodejs-docs-samples-tests/nodejs-docs-samples-storagetransfer-aws
@@ -65,7 +65,7 @@ jobs:
6565
id: npm-cache-dir
6666
shell: bash
6767
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
68-
- uses: actions/cache@v3
68+
- uses: actions/cache@v4
6969
id: npm-cache
7070
with:
7171
path: ${{ steps.npm-cache-dir.outputs.dir }}

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/[email protected]
3535
with:
3636
ref: ${{github.event.pull_request.head.sha}}
37-
- uses: 'google-github-actions/auth@v1.1.1'
37+
- uses: 'google-github-actions/auth@v2.1.3'
3838
with:
3939
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
4040
service_account: '[email protected]'
@@ -47,7 +47,7 @@ jobs:
4747
id: npm-cache-dir
4848
shell: bash
4949
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
50-
- uses: actions/cache@v3
50+
- uses: actions/cache@v4
5151
id: npm-cache
5252
with:
5353
path: ${{ steps.npm-cache-dir.outputs.dir }}

.github/workflows/vision.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ jobs:
4646
- uses: actions/[email protected]
4747
with:
4848
ref: ${{github.event.pull_request.head.sha}}
49-
- uses: 'google-github-actions/auth@v1.1.1'
49+
- uses: 'google-github-actions/auth@v2.1.3'
5050
with:
5151
workload_identity_provider: 'projects/1046198160504/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
5252
service_account: '[email protected]'
5353
create_credentials_file: 'true'
5454
access_token_lifetime: 600s
5555
- id: secrets
56-
uses: 'google-github-actions/get-secretmanager-secrets@v1'
56+
uses: 'google-github-actions/get-secretmanager-secrets@v2'
5757
with:
5858
secrets: |-
5959
vision:nodejs-docs-samples-tests/nodejs-docs-samples-vision
@@ -64,7 +64,7 @@ jobs:
6464
id: npm-cache-dir
6565
shell: bash
6666
run: echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
67-
- uses: actions/cache@v3
67+
- uses: actions/cache@v4
6868
id: npm-cache
6969
with:
7070
path: ${{ steps.npm-cache-dir.outputs.dir }}

0 commit comments

Comments
 (0)