Skip to content

Use monitoring-mixins for dashboards and alerts #57

Use monitoring-mixins for dashboards and alerts

Use monitoring-mixins for dashboards and alerts #57

Workflow file for this run

---
name: Test Alertmanager rule files
on: # yamllint disable-line rule:truthy
pull_request:
paths:
- 'prometheus/*.rules'
push:
branches:
- main
jobs:
test-rules:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.16"
- run: GO111MODULE=on go get github.com/prometheus/prometheus/cmd/promtool@35c88e511f6954fabeb441c13e4534142e879570
- run: promtool check rules prometheus/*.rules