[stable/none] fix: helm-conftest step #1599
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: Helm conftest | |
on: [pull_request] | |
jobs: | |
check-charts: | |
name: Run conftest for all charts | |
runs-on: ubuntu-latest | |
container: | |
image: alpine/helm:latest | |
steps: | |
- name: Checkout Code | |
uses: actions/[email protected] | |
- name: Install Conftest | |
run: | | |
apk add --no-cache curl | |
curl -L https://github.com/open-policy-agent/conftest/releases/latest/download/conftest-linux-amd64.tar.gz -o conftest.tar.gz | |
tar xzf conftest.tar.gz | |
mv conftest /usr/local/bin/ | |
rm conftest.tar.gz | |
- name: Validate all charts | |
run: bash ci/helm-conftest.sh |