From 6f617a78ea180ecd493bae2ffccff48e55725d95 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Fri, 20 Jun 2025 11:48:13 +0200 Subject: [PATCH] Update default version everywhere --- README.md | 2 +- src/run.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4f2cecc..517f4c3 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Acceptable values are latest or any semantic version string like v3.5.0 Use this ``` > [!NOTE] -> If something goes wrong with fetching the latest version the action will use the hardcoded default stable version (currently v3.13.3). If you rely on a certain version higher than the default, you should explicitly use that version instead of latest. +> If something goes wrong with fetching the latest version the action will use the hardcoded default version (currently v3.18.3). If you rely on a certain version higher than the default, you should explicitly use that version instead of latest. The cached helm binary path is prepended to the PATH environment variable as well as stored in the helm-path output variable. Refer to the action metadata file for details about all the inputs https://github.com/Azure/setup-helm/blob/master/action.yml diff --git a/src/run.test.ts b/src/run.test.ts index 78ef64b..af706fb 100644 --- a/src/run.test.ts +++ b/src/run.test.ts @@ -88,7 +88,7 @@ describe('run.ts', () => { test('getLatestHelmVersion() - return the stable version of HELM when simulating a network error', async () => { const errorMessage: string = 'Network Error' global.fetch = jest.fn().mockRejectedValueOnce(new Error(errorMessage)) - expect(await run.getLatestHelmVersion()).toBe('v3.13.3') + expect(await run.getLatestHelmVersion()).toBe('v3.18.3') }) test('getValidVersion() - return version with v prepended', () => {