Skip to content

Commit

Permalink
Edited CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmaurice committed May 20, 2024
1 parent 884731b commit 713bcf4
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,27 @@ jobs:
with:
fetch-depth: 0

- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.12.1
# - name: Set up Helm
# uses: azure/[email protected]
# with:
# version: v3.12.1

- uses: actions/[email protected]
with:
python-version: "3.10"
check-latest: true
# - uses: actions/[email protected]
# with:
# python-version: "3.10"
# check-latest: true

- name: Set up chart-testing
uses: helm/[email protected]

- name: Run chart-testing (list-changed)
shell: bash
id: list-changed
run: ct list-changed --target-branch ${{ github.event.repository.default_branch }}
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch ${{ github.event.repository.default_branch }}

0 comments on commit 713bcf4

Please sign in to comment.