Skip to content

[Snyk] Security upgrade golang from 1.14.3 to 1.20.8 #19

[Snyk] Security upgrade golang from 1.14.3 to 1.20.8

[Snyk] Security upgrade golang from 1.14.3 to 1.20.8 #19

Workflow file for this run

jobs:
changes:
outputs:
charts: ${{ steps.filter.outputs.charts }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- id: filter
uses: dorny/[email protected]
with:
filters: |
charts:
- 'charts/**/Chart.yaml'
- 'charts/**/*'
token: ${{ secrets.GITHUB_TOKEN }}
helm-lint-test:
if: ${{ needs.changes.outputs.charts == 'true' }}
name: Helm chart
needs:
- changes
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch history
run: git fetch --prune --unshallow
- name: Set up chart-testing
uses: helm/[email protected]
- name: Run chart-testing (lint)
run: ct lint
# Only build a kind cluster if there are chart changes to test.
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- if: steps.list-changed.outputs.changed == 'true'
name: Create kind cluster
uses: helm/[email protected]
- if: steps.list-changed.outputs.changed == 'true'
name: Run chart-testing (install)
run: ct install
helm-docs-validate:
if: ${{ needs.changes.outputs.charts == 'true' }}
name: Helm Docs
needs:
- changes
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run helm-docs
uses: docker://jnorwood/helm-docs:v1.3.0
- name: Check for changes
run: git diff --quiet charts/*/README.md
name: Lint and Test Charts
on: pull_request