Add RuboCop job to Actions
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
This commit is contained in:
parent
86d7ad9b7b
commit
86bb028ade
|
@ -0,0 +1,16 @@
|
|||
name: lint
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: true
|
||||
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
|
|
@ -6,6 +6,7 @@ AllCops:
|
|||
- doc/**/*.rb
|
||||
- rake.gemspec
|
||||
- bin/*
|
||||
- vendor/**/*
|
||||
|
||||
Style/HashSyntax:
|
||||
Enabled: true
|
||||
|
|
Loading…
Reference in New Issue