Skip to content

Commit

Permalink
Add template liter action
Browse files Browse the repository at this point in the history
  • Loading branch information
rail committed Mar 29, 2023
1 parent b5124bd commit 4af28f3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,24 @@ jobs:

- name: Run E2E Test
run: make test/e2e/rotate

lint-templates:
name: Lint release templates
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.18

- name: generate configs
run: go run build/build.go generate

- name: check diff
run: git diff --no-ext-diff --exit-code

0 comments on commit 4af28f3

Please sign in to comment.