Skip to content

Commit

Permalink
Merge pull request #426 from tnir/tnir/rubocop-on-actions
Browse files Browse the repository at this point in the history
Add RuboCop job to Actions
  • Loading branch information
hsbt authored Jun 14, 2022
2 parents 86d7ad9 + 86bb028 commit 73a2116
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ AllCops:
- doc/**/*.rb
- rake.gemspec
- bin/*
- vendor/**/*

Style/HashSyntax:
Enabled: true
Expand Down

0 comments on commit 73a2116

Please sign in to comment.