summaryrefslogtreecommitdiffstats
path: root/.github/workflows/linters.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linters.yml')
-rw-r--r--.github/workflows/linters.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml
new file mode 100644
index 000000000..297e28116
--- /dev/null
+++ b/.github/workflows/linters.yml
@@ -0,0 +1,21 @@
+name: Lint
+
+on:
+ push:
+
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: 3.2
+ bundler-cache: true
+
+ - name: Lint code for consistent style
+ run: bundle exec rubocop --parallel