Skip to content

Commit 5e72872

Browse files
authored
ci(workflows): update helm version to v3.18.4 and add matrix for tests (#207)
1 parent fb8fa40 commit 5e72872

File tree

3 files changed

+39
-21
lines changed

3 files changed

+39
-21
lines changed

.github/workflows/integration-tests.yml

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@ on:
77
jobs:
88
trigger-integration-tests:
99
name: Trigger Integration tests
10-
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
os:
13+
- ubuntu-latest
14+
- ubuntu-24.04-arm
15+
- macos-latest # arm
16+
- macos-13 # x64
17+
fail-fast: false
18+
runs-on: ${{ matrix.os }}
1119
env:
12-
HELM_3_8_0: 'v3.8.0'
13-
HELM_3_7_2: 'v3.7.2'
14-
HELM_NO_V: '3.5.0'
20+
HELM_3_18_4: 'v3.18.4'
21+
HELM_3_18_0: 'v3.18.0'
22+
HELM_NO_V: '3.18.4'
1523
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}
1624
steps:
1725
- name: Check out repository
@@ -27,41 +35,41 @@ jobs:
2735
- name: Setup helm
2836
uses: ./
2937
with:
30-
version: ${{ env.HELM_3_8_0 }}
31-
- name: Validate helm 3.8.0
38+
version: ${{ env.HELM_3_18_4 }}
39+
- name: Validate helm 3.18.4
3240
run: |
33-
if [[ $(helm version) != *$HELM_3_8_0* ]]; then
34-
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0"
41+
if [[ $(helm version) != *$HELM_3_18_4* ]]; then
42+
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.18.4"
3543
echo "HELM VERSION OUTPUT: $(helm version)"
3644
exit 1
3745
else
38-
echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY"
46+
echo "HELM VERSION $HELM_3_18_4 INSTALLED SUCCESSFULLY"
3947
fi
40-
- name: Setup helm 3.7.2
48+
- name: Setup helm 3.18.0
4149
uses: ./
4250
with:
43-
version: ${{ env.HELM_3_7_2 }}
44-
- name: Validate 3.7.2
51+
version: ${{ env.HELM_3_18_0 }}
52+
- name: Validate 3.18.0
4553
run: |
46-
if [[ $(helm version) != *$HELM_3_7_2* ]]; then
47-
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.7.2"
54+
if [[ $(helm version) != *$HELM_3_18_0* ]]; then
55+
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.18.0"
4856
echo "HELM VERSION OUTPUT: $(helm version)"
4957
exit 1
5058
else
51-
echo "HELM VERSION $HELM_3_7_2 INSTALLED SUCCESSFULLY"
59+
echo "HELM VERSION $HELM_3_18_0 INSTALLED SUCCESSFULLY"
5260
fi
53-
- name: Setup helm 3.5.0 with no v in version
61+
- name: Setup helm 3.18.4 with no v in version
5462
uses: ./
5563
with:
5664
version: ${{ env.HELM_NO_V }}
57-
- name: Validate 3.5.0 without v in version
65+
- name: Validate 3.18.4 without v in version
5866
run: |
5967
if [[ $(helm version) != *$HELM_NO_V* ]]; then
60-
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.5.0"
68+
echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN 3.18.4"
6169
echo "HELM VERSION OUTPUT: $(helm version)"
6270
exit 1
6371
else
64-
echo "HELM VERSION $HELM_3_5_0 INSTALLED SUCCESSFULLY"
72+
echo "HELM VERSION $HELM_NO_V INSTALLED SUCCESSFULLY"
6573
fi
6674
- name: Setup helm latest version
6775
uses: ./

.github/workflows/unit-tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,17 @@ on: # rebuild any PRs and main branch changes
1111

1212
jobs:
1313
build: # make sure build/ci works properly
14-
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
os:
17+
- ubuntu-latest
18+
- ubuntu-24.04-arm
19+
- windows-latest
20+
- windows-11-arm
21+
- macos-latest # arm
22+
- macos-13 # x64
23+
fail-fast: false
24+
runs-on: ${{ matrix.os }}
1525
steps:
1626
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1727

src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as toolCache from '@actions/tool-cache'
1010
import * as core from '@actions/core'
1111

1212
const helmToolName = 'helm'
13-
export const stableHelmVersion = 'v3.18.3'
13+
export const stableHelmVersion = 'v3.18.4'
1414

1515
export async function run() {
1616
let version = core.getInput('version', {required: true})

0 commit comments

Comments
 (0)