Skip to content
Snippets Groups Projects
Unverified Commit 48579a96 authored by paulfantom's avatar paulfantom
Browse files

.github/workflows: run fmt and lint in CI

parent ecbaa85d
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,18 @@ jobs: ...@@ -20,6 +20,18 @@ jobs:
with: with:
go-version: ${{ env.golang-version }} go-version: ${{ env.golang-version }}
- run: make --always-make generate && git diff --exit-code - run: make --always-make generate && git diff --exit-code
lint:
runs-on: ubuntu-latest
name: Jsonnet linter
steps:
- uses: actions/checkout@v2
- run: make --always-make lint
fmt:
runs-on: ubuntu-latest
name: Jsonnet formatter
steps:
- uses: actions/checkout@v2
- run: make --always-make fmt && git diff --exit-code
unit-tests: unit-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Unit tests name: Unit tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment