Skip to content

[Release-0.5] Use native metrics instead of collector #617

[Release-0.5] Use native metrics instead of collector

[Release-0.5] Use native metrics instead of collector #617

Workflow file for this run

name: generate
on:
push:
branches:
- main
- release-*
paths-ignore:
- "charts/**"
pull_request:
branches:
- main
- release-*
paths-ignore:
- "charts/**"
jobs:
check-docs:
name: Check generated files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Generate docs and manifests
run: |
go mod tidy
make generate
make manifests
make generate-api-docs
make helm-sync-docs
- name: Check for changes
run: |
if ! git diff --exit-code; then
echo "Some files are out of date. Please run the following commands and commit the changes:"
echo " go mod tidy"
echo " make generate-api-docs"
echo " make generate"
echo " make manifests"
echo " make helm-sync-docs"
exit 1
fi