77 runs-on : ubuntu-latest
88 steps :
99 - name : Checkout
10- uses : actions/checkout@v2
10+ uses : actions/checkout@v3
1111 with :
1212 fetch-depth : 0
1313
1414 - name : Set up Helm
15- uses : azure/setup-helm@v1
15+ uses : azure/setup-helm@v3
1616 with :
17- version : v3.4.1
17+ version : v3.10.3
1818
1919 # Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and
2020 # yamllint (https://github.com/adrienverge/yamllint) which require Python
2121 - name : Set up Python
22- uses : actions/setup-python@v2
22+ uses : actions/setup-python@v4
2323 with :
24- python-version : 3.7
24+ python-version : ' 3.9'
25+ check-latest : true
2526
2627 - name : Set up chart-testing
27- uses : helm/chart-testing-action@v2.1.0
28+ uses : helm/chart-testing-action@v2
2829
2930 - name : Run chart-testing (list-changed)
3031 id : list-changed
@@ -38,12 +39,14 @@ jobs:
3839 run : ct lint --config ct.yaml
3940
4041 - name : Create kind cluster
41- uses : helm/kind-action@v1.2.0
42+ uses : helm/kind-action@v1
4243 if : steps.list-changed.outputs.changed == 'true'
4344
4445 - name : Install Prometheus Operator CRDs
4546 id : prom
4647 run : kubectl apply --server-side -f https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/v0.54.0/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
48+ if : steps.list-changed.outputs.changed == 'true'
4749
4850 - name : Run chart-testing (install)
4951 run : ct install --config ct.yaml
52+ if : steps.list-changed.outputs.changed == 'true'
0 commit comments