Repository navigation
chore(deps): update gomods/athens docker tag to v0.16.1 #202
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Chart | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| paths: | |
| - "charts/**" | |
| - ".github/workflows/**" | |
| jobs: | |
| test: | |
| name: Test Helm Chart | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Helm | |
| uses: azure/setup-helm@v4 | |
| - name: Set up chart-testing | |
| uses: helm/chart-testing-action@v2.7.0 | |
| - name: Run chart-testing (list-changed) | |
| id: list-changed | |
| 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) | |
| run: ct lint --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }} | |
| - name: Create kind cluster | |
| uses: helm/kind-action@v1.12.0 | |
| if: github.ref == 'refs/heads/main' || steps.list-changed.outputs.changed == 'true' | |
| - name: Run chart-testing (install) | |
| id: chart-install | |
| run: ct install --remote origin --all | |
| if: github.ref == 'refs/heads/main' || steps.list-changed.outputs.changed == 'true' |