Skip to content

Commit

Permalink
ci: Fail on formatting issues
Browse files Browse the repository at this point in the history
This lets the verible fail if there are any formatting issues reported.
This help to
- detect formatting issues soon (before opening a PR),
- clearly mark checks failed for uncompliant changes.

Signed-off-by: Nils Wistoff <[email protected]>
  • Loading branch information
niwis committed Mar 4, 2024
1 parent 6706bca commit 0b5c0ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/verible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
# SPDX-License-Identifier: Apache-2.0

name: Verible
on:
pull_request_target:
on: [push, pull_request_target]

jobs:
format:
Expand All @@ -21,3 +20,4 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
files: 'core/**/*.{v,sv}'
fail_on_formatting_suggestions: true

0 comments on commit 0b5c0ef

Please sign in to comment.