Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit 2701e5b

Browse files
authored
Update lint-test.yml
1 parent e692cba commit 2701e5b

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.github/workflows/lint-test.yml

+9-10
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,31 @@ jobs:
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.8.1
17+
version: v3.10.0
1818

19-
- uses: actions/setup-python@v2
19+
- uses: actions/setup-python@v4
2020
with:
21-
python-version: 3.7
21+
python-version: '3.9'
22+
check-latest: true
2223

2324
- name: Set up chart-testing
24-
uses: helm/chart-testing-action@v2.2.1
25+
uses: helm/chart-testing-action@v2.3.1
2526

2627
- name: Run chart-testing (list-changed)
2728
id: list-changed
2829
run: |
29-
#changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
30-
changed=$(ct list-changed --target-branch test)
30+
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
3131
if [[ -n "$changed" ]]; then
3232
echo "::set-output name=changed::true"
3333
fi
3434
3535
- name: Run chart-testing (lint)
36-
run: ct lint
36+
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
3737

38-
# This will likely fail with OCP-specific stuff. Might have to spin up a SNO/microshift one
3938
- name: Create kind cluster
40-
uses: helm/kind-action@v1.2.0
39+
uses: helm/kind-action@v1.4.0
4140
if: steps.list-changed.outputs.changed == 'true'
4241

4342
- name: Run chart-testing (install)

0 commit comments

Comments
 (0)