diff --git a/.github/actionlint.yml b/.github/actionlint.yml new file mode 100644 index 0000000..e70bf18 --- /dev/null +++ b/.github/actionlint.yml @@ -0,0 +1,5 @@ +paths: + '**/*.yml': + ignore: + # https://github.com/rhysd/actionlint/issues/559 + - 'invalid runner name "node24"' diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 2820bb4..4d0ae31 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -54,7 +54,7 @@ jobs: - id: 'auth' name: 'Auth' - 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 }}' diff --git a/README.md b/README.md index 54513fa..9345d88 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ support](https://cloud.google.com/support).** the secrets being requested. See [Authorization](#authorization) for more information. -- 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 runner version [2.285.0](https://github.com/actions/virtual-environments) or newer. @@ -39,13 +39,13 @@ jobs: steps: - uses: 'actions/checkout@v4' - - uses: 'google-github-actions/auth@v2' + - uses: 'google-github-actions/auth@v3' with: workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' service_account: 'my-service-account@my-project.iam.gserviceaccount.com' - id: create-release - uses: 'google-github-actions/create-cloud-deploy-release@v1' + uses: 'google-github-actions/create-cloud-deploy-release@v2' with: name: 'demo-app-v1-2-3' description: 'Add new functionality to demo-app' @@ -194,12 +194,12 @@ jobs: # ... - - uses: 'google-github-actions/auth@v2' + - uses: 'google-github-actions/auth@v3' with: workload_identity_provider: 'projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider' service_account: 'my-service-account@my-project.iam.gserviceaccount.com' - - uses: 'google-github-actions/create-cloud-deploy-release@v1' + - uses: 'google-github-actions/create-cloud-deploy-release@v2' with: name: 'example-app' ... @@ -218,7 +218,7 @@ jobs: steps: # ... - - uses: 'google-github-actions/create-cloud-deploy-release@v1' + - uses: 'google-github-actions/create-cloud-deploy-release@v2' with: name: 'example-app' ... diff --git a/action.yml b/action.yml index 26361c5..edd822d 100644 --- a/action.yml +++ b/action.yml @@ -125,5 +125,5 @@ branding: color: 'blue' runs: - using: 'node20' + using: 'node24' main: 'dist/main/index.js' diff --git a/package-lock.json b/package-lock.json index 4324143..36a176f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,8 +12,8 @@ "@actions/core": "^1.11.1", "@actions/exec": "^1.1.1", "@actions/tool-cache": "^2.0.2", - "@google-github-actions/actions-utils": "^0.8.10", - "@google-github-actions/setup-cloud-sdk": "^1.2.3", + "@google-github-actions/actions-utils": "^1.0.1", + "@google-github-actions/setup-cloud-sdk": "^2.0.0", "js-yaml": "^4.1.0" }, "devDependencies": { @@ -35,7 +35,7 @@ "yaml": "^2.8.1" }, "engines": { - "node": ">= 20.x", + "node": ">= 24.x", "npm": ">= 11.x" } }, @@ -238,9 +238,9 @@ } }, "node_modules/@google-github-actions/actions-utils": { - "version": "0.8.10", - "resolved": "https://registry.npmjs.org/@google-github-actions/actions-utils/-/actions-utils-0.8.10.tgz", - "integrity": "sha512-NLmKwQgPj0cQyDjbtQIGUYBdPtFIywLbH10RPRuhF6tO7qlO19N76SsaDEiZ7iKlXA9Yfj8TS3lK6wfdJyE+hw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@google-github-actions/actions-utils/-/actions-utils-1.0.1.tgz", + "integrity": "sha512-dEvNcy63a6pkcMsRhWbfjNePsv4kR61O56mQ9rVXvRgjAvRkZTBiM1G7QSnHulMEjhLIlTEGlBIKEKIxCoonkQ==", "license": "Apache-2.0", "dependencies": { "yaml": "^2.8.1" @@ -249,26 +249,26 @@ "actions-gen-readme": "bin/actions-gen-readme.mjs" }, "engines": { - "node": ">= 20.x", - "npm": ">= 10.x" + "node": ">= 24.x", + "npm": ">= 11.x" } }, "node_modules/@google-github-actions/setup-cloud-sdk": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@google-github-actions/setup-cloud-sdk/-/setup-cloud-sdk-1.2.3.tgz", - "integrity": "sha512-6k+yIVvxqkp21LMaxytVvIrnyvvLBH5ezKePkIxoFBvcKIOTTpf7L5B5KlMBUHzyjTsNIohtu5iHg+AEBAD8ug==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@google-github-actions/setup-cloud-sdk/-/setup-cloud-sdk-2.0.0.tgz", + "integrity": "sha512-ZrfolwXPE3C2kzyunxeb77TtUQv765aIG2LD7lGXtA9q4WRBoo5xj1I1Mu9d/od2tKvhFh2RwSiRxdBvZMcfxQ==", "license": "Apache-2.0", "dependencies": { "@actions/core": "^1.11.1", "@actions/exec": "^1.1.1", "@actions/http-client": "^2.2.3", "@actions/tool-cache": "^2.0.2", - "@google-github-actions/actions-utils": "^0.8.10", + "@google-github-actions/actions-utils": "^1.0.1", "semver": "^7.7.2" }, "engines": { - "node": ">= 20.x", - "npm": ">= 10.x" + "node": ">= 24.x", + "npm": ">= 11.x" } }, "node_modules/@google-github-actions/setup-cloud-sdk/node_modules/semver": { diff --git a/package.json b/package.json index 85fbe90..3a3e7af 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "e2e-tests": "node --require ts-node/register --test-reporter spec --test ./tests/e2e.test.ts" }, "engines": { - "node": ">= 20.x", + "node": ">= 24.x", "npm": ">= 11.x" }, "repository": { @@ -38,8 +38,8 @@ "@actions/core": "^1.11.1", "@actions/exec": "^1.1.1", "@actions/tool-cache": "^2.0.2", - "@google-github-actions/actions-utils": "^0.8.10", - "@google-github-actions/setup-cloud-sdk": "^1.2.3", + "@google-github-actions/actions-utils": "^1.0.1", + "@google-github-actions/setup-cloud-sdk": "^2.0.0", "js-yaml": "^4.1.0" }, "devDependencies": {