Skip to content

Commit

Permalink
.github: add trailing whitespace error check.
Browse files Browse the repository at this point in the history
Add trailing whitespace error check to our project-checks workflow.

Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub committed Oct 23, 2023
1 parent c96ed9b commit e331e14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/project-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}

- name: Check trailing whitespace errors
if: ${{ github.event_name == "pull_request" }}
run: |
git diff-index --check ${{ github.base_ref }} --
- name: make verify
run: |
make verify
Expand Down

0 comments on commit e331e14

Please sign in to comment.