Skip to content

Commit

Permalink
Add Rubocop to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrodie committed Apr 28, 2024
1 parent 86a1abf commit cda3da2
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,27 @@ name: Ruby
on: [push, pull_request]

jobs:
lint:
name: CI-lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby:
- '3.1'
steps:
- uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Lint
run: |
bundle exec rubocop
test:
name: CI-tests
runs-on: ubuntu-latest
Expand Down

0 comments on commit cda3da2

Please sign in to comment.