chore(deps): update helm chart mariadb to v20.4.1 #968
Workflow file for this run
This file contains 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: PR check | |
on: | |
pull_request: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 21 | |
cache: "npm" | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run build:ts | |
helm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v4 | |
with: | |
version: v3.12.1 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
check-latest: true | |
- uses: helm/[email protected] | |
- 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: install helm dependencies | |
if: steps.list-changed.outputs.changed == 'true' | |
run: | | |
helm dependency update charts/* | |
helm repo add bitnami https://charts.bitnami.com/bitnami | |
helm plugin install https://github.com/helm-unittest/helm-unittest.git | |
- name: Run chart-testing (lint) | |
if: steps.list-changed.outputs.changed == 'true' | |
run: ct lint --target-branch ${{ github.event.repository.default_branch }} | |
# run helm unittest | |
- name: Run helm lint | |
if: steps.list-changed.outputs.changed == 'true' | |
run: helm lint charts/* | |
- name: Run helm unittest | |
if: steps.list-changed.outputs.changed == 'true' | |
run: helm unittest charts/* |