Skip to content

Commit

Permalink
chore: add pint
Browse files Browse the repository at this point in the history
  • Loading branch information
rexagod committed Jul 17, 2024
1 parent de834e9 commit 0b87482
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
run: make --always-make fmt && git diff --exit-code
- name: Jsonnet linter
run: make --always-make jsonnet-lint
- name: YAML linter (Pint)
uses: prymitive/pint-action@v1
with:
config: "../../.pint.hcl"
- name: Unit tests
run: make --always-make test

Expand Down
5 changes: 5 additions & 0 deletions .pint.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Pint config to be used when running in a CI environment.

ci {
include = ["prometheus_(rules|alerts).yaml"]
}

0 comments on commit 0b87482

Please sign in to comment.