Skip to content

Commit 3a115af

Browse files
authored
Update README and CI to use latest version (#400)
1 parent d8c8efb commit 3a115af

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/cleanup.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
steps:
1717
- uses: 'actions/checkout@v4'
1818

19-
- uses: 'google-github-actions/auth@main'
19+
- uses: 'google-github-actions/auth@v2'
2020
with:
2121
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
2222
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
2323

24-
- uses: 'google-github-actions/setup-gcloud@main'
24+
- uses: 'google-github-actions/setup-gcloud@v2'
2525

2626
- name: Delete services
2727
run: |-

.github/workflows/integration.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: 'npm build'
3333
run: 'npm ci && npm run build'
3434

35-
- uses: 'google-github-actions/auth@main'
35+
- uses: 'google-github-actions/auth@v2'
3636
with:
3737
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
3838
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
@@ -62,7 +62,7 @@ jobs:
6262
- name: 'npm build'
6363
run: 'npm ci && npm run build'
6464

65-
- uses: 'google-github-actions/auth@main'
65+
- uses: 'google-github-actions/auth@v2'
6666
with:
6767
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
6868
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'

.github/workflows/unit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
if: ${{ matrix.os == 'ubuntu-latest' }}
4747
run: 'npm run lint'
4848

49-
- uses: 'google-github-actions/auth@main'
49+
- uses: 'google-github-actions/auth@v2'
5050
if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name && github.actor != 'dependabot[bot]' }}
5151
with:
5252
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ jobs:
3939
- uses: 'actions/checkout@v4'
4040

4141
- id: 'auth'
42-
uses: 'google-github-actions/auth@v1'
42+
uses: 'google-github-actions/auth@v2'
4343
with:
4444
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
4545
service_account: 'my-service-account@my-project.iam.gserviceaccount.com'
4646

4747
- id: 'deploy'
48-
uses: 'google-github-actions/deploy-cloud-functions@v1'
48+
uses: 'google-github-actions/deploy-cloud-functions@v2'
4949
with:
5050
name: 'my-function'
5151
runtime: 'nodejs20'
@@ -237,13 +237,13 @@ jobs:
237237
- uses: 'actions/checkout@v4'
238238
239239
- id: 'auth'
240-
uses: 'google-github-actions/auth@v1'
240+
uses: 'google-github-actions/auth@v2'
241241
with:
242242
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'
243243
service_account: 'my-service-account@my-project.iam.gserviceaccount.com'
244244
245245
- id: 'deploy'
246-
uses: 'google-github-actions/deploy-cloud-functions@v1'
246+
uses: 'google-github-actions/deploy-cloud-functions@v2'
247247
with:
248248
name: 'my-function'
249249
runtime: 'nodejs20'
@@ -263,7 +263,7 @@ jobs:
263263
- uses: 'actions/checkout@v4'
264264
265265
- id: 'deploy'
266-
uses: 'google-github-actions/deploy-cloud-functions@v1'
266+
uses: 'google-github-actions/deploy-cloud-functions@v2'
267267
with:
268268
name: 'my-function'
269269
runtime: 'nodejs20'

0 commit comments

Comments
 (0)