Skip to content

Commit

Permalink
Run Rubocop in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Aug 31, 2024
1 parent 114e046 commit 98a313c
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@ on:
- cron: '0 4 1 * *'

jobs:
rubocop:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'

- name: Bundler
run: bundle install

- name: Rubocop
run: bin/rubocop

rspec:
runs-on: ubuntu-latest

Expand Down Expand Up @@ -46,4 +64,4 @@ jobs:
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: bin/rake
coverageCommand: bin/rspec

0 comments on commit 98a313c

Please sign in to comment.