File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,15 @@ name: "helm-charts/test"
33on : pull_request
44
55jobs :
6+ kubernetes-versions :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - id : release
10+ uses : actions-matrix/release-matrix-action@v2
11+ with :
12+ search : " kubernetes"
13+ outputs :
14+ matrix : ${{ steps.release.outputs.matrix }}
615 lint :
716 runs-on : ubuntu-latest
817 steps :
@@ -15,17 +24,15 @@ jobs:
1524 - name : Lint charts
1625 id : lint
1726 run : ct lint --all --target-branch ${{ github.event.repository.default_branch }}
18-
1927 test :
2028 runs-on : ubuntu-latest
21- needs : lint
29+ needs :
30+ - lint
31+ - kubernetes-versions
2232 strategy :
2333 fail-fast : false
2434 matrix :
25- k8s :
26- - " 1.28"
27- - " 1.29"
28- - " 1.30"
35+ k8s : ${{ fromJson(needs.kubernetes-versions.outputs.matrix).versions }}
2936 steps :
3037 - name : Checkout
3138 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments