Skip to content

Commit

Permalink
Add RuboCop job to Actions
Browse files Browse the repository at this point in the history
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
  • Loading branch information
tnir committed May 10, 2022
1 parent 1cb1d33 commit f18d033
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/lint.yml
@@ -0,0 +1,15 @@
name: lint

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- name: Run rubocop
run: bundle exec rubocop
1 change: 1 addition & 0 deletions .rubocop.yml
Expand Up @@ -6,6 +6,7 @@ AllCops:
- doc/**/*.rb
- rake.gemspec
- bin/*
- vendor/**/*

Style/HashSyntax:
Enabled: true
Expand Down

0 comments on commit f18d033

Please sign in to comment.