chore(deps): update hosting infrastructure #3110
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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' |