From 2b3b6e3719d089252ba202d4ea720fc3391208cf Mon Sep 17 00:00:00 2001 From: Warrick Lo Date: Fri, 8 May 2026 12:37:46 -0700 Subject: Add CI linter rules Signed-off-by: Warrick Lo --- .github/workflows/lint.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index e28e711..94ad728 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -9,4 +9,8 @@ jobs: - uses: actions/checkout@master - uses: chipsalliance/verible-linter-action@main with: + config_file: "lint.rules" github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Fail on lint errors + run: | + verible-verilog-lint --lint_fatal=true --rules_config=lint.rules $(find . -name "*.sv" -o -name "*.v") -- cgit v1.2.3