Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
paths:
'**/*.yml':
ignore:
# https://github.com/rhysd/actionlint/issues/559
- 'invalid runner name "node24"'
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: 'npm build'
run: 'npm ci && npm run build'

- uses: 'google-github-actions/auth@v2' # ratchet:exclude
- uses: 'google-github-actions/auth@v3' # ratchet:exclude
with:
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- name: 'npm build'
run: 'npm ci && npm run build'

- uses: 'google-github-actions/auth@v2' # ratchet:exclude
- uses: 'google-github-actions/auth@v3' # ratchet:exclude
with:
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: 'npm build'
run: 'npm ci && npm run build'

- uses: 'google-github-actions/auth@v2' # ratchet:exclude
- uses: 'google-github-actions/auth@v3' # ratchet:exclude
with:
workload_identity_provider: '${{ vars.WIF_PROVIDER_NAME }}'
service_account: '${{ vars.SERVICE_ACCOUNT_EMAIL }}'
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This action requires:
Authorization section below for more information. You also need to
[create a GKE cluster](https://cloud.google.com/kubernetes-engine/docs/quickstart).

- This action runs using Node 20. If you are using self-hosted GitHub Actions
- This action runs using Node 24. If you are using self-hosted GitHub Actions
runners, you must use a [runner
version](https://github.com/actions/virtual-environments) that supports this
version or newer.
Expand All @@ -42,13 +42,13 @@ jobs:

steps:
- id: 'auth'
uses: 'google-github-actions/auth@v2'
uses: 'google-github-actions/auth@v3'
with:
project_id: 'my-project'
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'

- id: 'get-credentials'
uses: 'google-github-actions/get-gke-credentials@v2'
uses: 'google-github-actions/get-gke-credentials@v3'
with:
cluster_name: 'my-cluster'
location: 'us-central1-a'
Expand Down Expand Up @@ -159,13 +159,13 @@ jobs:

steps:
- id: 'auth'
uses: 'google-github-actions/auth@v2'
uses: 'google-github-actions/auth@v3'
with:
project_id: 'my-project'
workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider'

- id: 'get-credentials'
uses: 'google-github-actions/get-gke-credentials@v2'
uses: 'google-github-actions/get-gke-credentials@v3'
with:
cluster_name: 'my-cluster'
location: 'us-central1-a'
Expand All @@ -178,12 +178,12 @@ jobs:
job_id:
steps:
- id: 'auth'
uses: 'google-github-actions/auth@v2'
uses: 'google-github-actions/auth@v3'
with:
credentials_json: '${{ secrets.gcp_credentials }}'

- id: 'get-credentials'
uses: 'google-github-actions/get-gke-credentials@v2'
uses: 'google-github-actions/get-gke-credentials@v3'
with:
cluster_name: 'my-cluster'
location: 'us-central1-a'
Expand All @@ -201,7 +201,7 @@ jobs:
job_id:
steps:
- id: 'get-credentials'
uses: 'google-github-actions/get-gke-credentials@v2'
uses: 'google-github-actions/get-gke-credentials@v3'
with:
cluster_name: 'my-cluster'
location: 'us-central1-a'
Expand All @@ -221,7 +221,7 @@ jobs:
job_id:
steps:
- id: 'get-credentials'
uses: 'google-github-actions/get-gke-credentials@v2'
uses: 'google-github-actions/get-gke-credentials@v3'
with:
cluster_name: 'my-private-cluster'
location: 'us-central1-a'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,5 @@ branding:
color: 'blue'

runs:
using: 'node20'
using: 'node24'
main: 'dist/main/index.js'
21 changes: 0 additions & 21 deletions bin/runTests.sh

This file was deleted.

12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"docs": "./node_modules/.bin/actions-gen-readme",
"lint": "eslint .",
"format": "eslint . --fix",
"test": "bash ./bin/runTests.sh"
"test": "node --require ts-node/register --test-reporter spec --test tests/**/*.test.ts"
},
"engines": {
"node": ">= 20.x",
"node": ">= 24.x",
"npm": ">= 11.x"
},
"repository": {
Expand All @@ -29,7 +29,7 @@
"license": "Apache-2.0",
"dependencies": {
"@actions/core": "^1.11.1",
"@google-github-actions/actions-utils": "^0.8.10",
"@google-github-actions/actions-utils": "^1.0.1",
"google-auth-library": "^10.3.0",
"yaml": "^2.8.1"
},
Expand Down
Loading