This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
homelab/.gitea/workflows/kubernetes-linter.yml
Liam a1cca693ed
Some checks failed
Check Kubernetes YAMLs / scan (push) Failing after 1m19s
oops
2024-09-23 09:54:29 +01:00

26 lines
499 B
YAML

name: Check Kubernetes YAMLs
on:
push:
branches: [main, master]
pull_request:
jobs:
scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.23.1"
- name: Install kube-linter
run: |
go install golang.stackrox.io/kube-linter/cmd/kube-linter@latest
- name: Scan yaml files with kube-linter
run: |
kube-linter lint ./apps