diff options
Diffstat (limited to '')
| -rw-r--r-- | .editorconfig | 4 | ||||
| -rw-r--r-- | .github/workflows/format.yaml | 12 | ||||
| -rw-r--r-- | .github/workflows/lint.yaml | 12 |
3 files changed, 28 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig index 349051c..17a55fa 100644 --- a/.editorconfig +++ b/.editorconfig @@ -13,3 +13,7 @@ indent_size = 8 [*.{sv,svh,v,vh}] indent_style = space indent_size = 2 + +[*.{yaml,yml}] +indent_style = space +indent_size = 2 diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml new file mode 100644 index 0000000..fbef4a8 --- /dev/null +++ b/.github/workflows/format.yaml @@ -0,0 +1,12 @@ +name: Verible Formatter + +on: [pull_request] + +jobs: + format: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: chipsalliance/verible-formatter-action@main + with: + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..e28e711 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,12 @@ +name: Verible Linter + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: chipsalliance/verible-linter-action@main + with: + github_token: ${{ secrets.GITHUB_TOKEN }} |