chore(main): release 0.4.4 (#24) #61
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: CI | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| lint-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4 | |
| with: | |
| version: '3.13.0' | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: helm plugin install https://github.com/helm-unittest/helm-unittest.git | |
| - name: Lint Helm chart | |
| run: | | |
| helm lint . | |
| - name: Run Helm unit tests | |
| run: | | |
| helm unittest . | |
| - name: Test Helm template rendering | |
| run: | | |
| # Test with default values | |
| helm template test-release . > /dev/null | |
| echo "✅ All template rendering tests passed" | |
| security-scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run Checkov security scan | |
| uses: bridgecrewio/checkov-action@master | |
| with: | |
| directory: . | |
| framework: kubernetes,dockerfile | |
| output_format: sarif | |
| output_file_path: reports/results.sarif | |
| soft_fail: true | |
| - name: Upload Checkov results to GitHub Security tab | |
| uses: github/codeql-action/upload-sarif@v3 | |
| if: always() | |
| with: | |
| sarif_file: reports/results.sarif |