aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorWarrick Lo <wlo@warricklo.net>2026-05-08 03:04:38 -0700
committerWarrick Lo <wlo@warricklo.net>2026-05-08 03:04:38 -0700
commit6daf3b8ef7bc0a222c1f02408b832fc6bbc413e0 (patch)
treefb3f71717c051c727fe83b4c898b0922c89bb902 /.github
parentAdd project scaffolding (diff)
downloadmontreal-6daf3b8ef7bc0a222c1f02408b832fc6bbc413e0.tar.xz
montreal-6daf3b8ef7bc0a222c1f02408b832fc6bbc413e0.zip
Add GitHub Actions for linting and formatting
Signed-off-by: Warrick Lo <wlo@warricklo.net>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format.yaml12
-rw-r--r--.github/workflows/lint.yaml12
2 files changed, 24 insertions, 0 deletions
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 }}