Skip to content

Merge pull request #614 from thaum-xyz/renovate/applications #3099

Merge pull request #614 from thaum-xyz/renovate/applications

Merge pull request #614 from thaum-xyz/renovate/applications #3099

---
name: prom-rules
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master]
env:
golang-version: 1.23.4
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '${{ env.golang-version }}'
- run: go install github.com/brancz/gojsontoyaml@latest
- run: PATH="${PATH}:${GITHUB_WORKSPACE}" ./hack/unpack-prometheus-rules.sh
- name: Run pint
uses: prymitive/pint-action@v1
with:
token: ${{ github.token }}
# directory containing Prometheus rules
workdir: 'tmp/rules'