File tree Expand file tree Collapse file tree 2 files changed +25
-13
lines changed
Expand file tree Collapse file tree 2 files changed +25
-13
lines changed Original file line number Diff line number Diff line change @@ -2,27 +2,39 @@ name: Lint and Test Charts
22
33on :
44 pull_request :
5- paths-ignore :
6- - ' .github/**'
7- - ' charts/**/README.md'
8- - ' CODE_OF_CONDUCT.md'
9- - ' CONTRIBUTING.md'
10- - ' LICENSE'
11- - ' README.md'
12-
5+ paths :
136jobs :
7+ changes :
8+ runs-on : ubuntu-latest-low
9+
10+ outputs :
11+ src : ${{ steps.changes.outputs.src}}
12+
13+ steps :
14+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
15+ id : changes
16+ continue-on-error : true
17+ with :
18+ filters : |
19+ src:
20+ - 'charts/nextcloud/Chart.yaml'
21+ - 'charts/nextcloud/values.yaml'
22+ - 'charts/nextcloud/templates/**'
23+
1424 lint-test :
1525 runs-on : ubuntu-22.04
26+ needs : changes
27+ if : needs.changes.outputs.src != 'false'
1628 steps :
1729 - name : Checkout
1830 uses : actions/checkout@v4
1931 with :
2032 fetch-depth : 0
2133
2234 - name : Install Helm
23- uses : azure/setup-helm@v3.5
35+ uses : azure/setup-helm@v4
2436 with :
25- version : v3.11.1
37+ version : v3.14.4
2638
2739 - name : Add dependency chart repos
2840 run : |
4557 run : ct lint --target-branch ${{ github.event.repository.default_branch }}
4658
4759 - name : Create kind cluster
48- uses : helm/kind-action@v1.8 .0
60+ uses : helm/kind-action@v1.10 .0
4961 if : steps.list-changed.outputs.changed == 'true'
5062
5163 - name : Run chart-testing (install)
Original file line number Diff line number Diff line change 2828
2929 # See https://github.com/helm/chart-releaser-action/issues/6
3030 - name : Set up Helm
31- uses : azure/setup-helm@v3.5
31+ uses : azure/setup-helm@v4
3232 with :
33- version : v3.11.1
33+ version : v3.14.4
3434
3535 - name : Add dependency chart repos
3636 run : |
You can’t perform that action at this time.
0 commit comments