forked from coo-ops.space/helm-charts
25 lines
742 B
YAML
25 lines
742 B
YAML
|
name: checks
|
||
|
|
||
|
on:
|
||
|
- push
|
||
|
- pull_request
|
||
|
|
||
|
|
||
|
jobs:
|
||
|
lint:
|
||
|
name: check and test
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: https://gitea.com/actions/checkout@v3
|
||
|
- 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
|