Skip to content

Add GH token for reviewdog #4

Add GH token for reviewdog

Add GH token for reviewdog #4

Workflow file for this run

# SPDX-FileCopyrightText: 2024 David Mallasén Quintana
# SPDX-License-Identifier: LGPL-3.0-or-later
# Source: https://github.com/davidmallasen/arithmetic_units
name: Verible formatter check
on: [push, pull_request]
jobs:
verible-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: chipsalliance/verible-formatter-action@main
with:
verible_version: "v0.0-3752-g8b64887e"
fail_on_formatting_suggestions: true
parameters: # These should be the same as in util/verible-format.py
--formal_parameters_indentation=indent
--named_parameter_indentation=indent
--named_port_indentation=indent
--port_declarations_indentation=indent
github_token: ${{ secrets.GITHUB_TOKEN }}