Skip to content

github-action: support check/lint/pre-commit #2

github-action: support check/lint/pre-commit

github-action: support check/lint/pre-commit #2

name: check-deploy-kubernetes
on:
pull_request:
paths:
- "deploy/kubernetes/.*"
- "libbeat/docs/version.asciidoc"
- ".github/workflows/check-deploy-kubernetes.yml"
push:
branches:
- main
- 7.1*
- 8.*
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: .go-version
- name: Run deploy/kubernetes all
run: make -C deploy/kubernetes all
- name: Run check-no-changes
run: make check-no-changes