Add a GitHub action for linting.

This commit is contained in:
Robert Haines 2021-05-16 19:43:27 +01:00
parent 7f3bb29487
commit fd510e07eb
1 changed files with 15 additions and 0 deletions

15
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Linter
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4
bundler-cache: true
- name: Rubocop
run: bundle exec rubocop