chore(deps): update actions/checkout action to v4 #252
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: CI | |
on: [pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
HELM_VERSION: v3.0.2 | |
CONFTEST_VERSION: "0.15.0" | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Conftest Install | |
run: | | |
curl -sSL https://github.com/instrumenta/conftest/releases/download/v${CONFTEST_VERSION}/conftest_${CONFTEST_VERSION}_Linux_x86_64.tar.gz \ | |
| tar vxz \ | |
&& sudo mv -v conftest /usr/local/bin/conftest | |
- name: Install YQ | |
run: | | |
curl -sSL https://github.com/mikefarah/yq/releases/download/v4.20.1/yq_linux_amd64 -o yq && chmod +x yq && sudo mv yq /usr/local/bin | |
- name: Helm Install | |
run: | | |
curl -sSL https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz \ | |
| tar vxz \ | |
&& sudo mv -v linux-amd64/helm /usr/local/bin/helm \ | |
&& rm -vrf linux-amd64 | |
- name: Test & Lint | |
run: ./helm-test.sh |