Merge pull request #883 from deepy/extract-original-design-doc #348
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: ci | |
on: | |
- push | |
- pull_request | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
name: Generate yaml | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- run: make --always-make generate && git diff --exit-code | |
jsonnet-lint: | |
runs-on: ubuntu-latest | |
name: Jsonnet linter | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- run: make --always-make jsonnet-lint | |
dashboards-lint: | |
runs-on: ubuntu-latest | |
name: Grafana dashboard linter | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- run: make --always-make dashboards-lint | |
alerts-lint: | |
runs-on: ubuntu-latest | |
name: Alerts linter | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- run: make --always-make alerts-lint | |
fmt: | |
runs-on: ubuntu-latest | |
name: Jsonnet formatter | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- run: make --always-make fmt && git diff --exit-code | |
unit-tests: | |
runs-on: ubuntu-latest | |
name: Unit tests | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- run: make --always-make test |