2023-06-25 19:16:28 +00:00
|
|
|
name: checks
|
|
|
|
|
|
|
|
on:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
name: check and test
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-08-10 10:06:00 +00:00
|
|
|
- uses: https://gitea.com/actions/checkout@v4
|
2023-06-25 19:16:28 +00:00
|
|
|
- name: install tools
|
|
|
|
run: |
|
|
|
|
apt update -y
|
|
|
|
apt install -y curl
|
|
|
|
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | tee /usr/share/keyrings/helm.gpg > /dev/null
|
|
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | tee /etc/apt/sources.list.d/helm-stable-debian.list
|
|
|
|
apt update -y
|
|
|
|
apt install -y python helm python3-pip apt-transport-https
|
|
|
|
|
|
|
|
- name: lint charts
|
|
|
|
run: |
|
|
|
|
make ci
|