Skip to content

Commit

Permalink
chore(ci): run linting as separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorton committed Sep 21, 2024
1 parent 8b7d10e commit dac6efb
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,19 @@ jobs:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Run tests
run: bundle exec rake
run: bundle exec rake spec

lint:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically

- name: Run linting with RuboCop
run: bundle exec rake rubocop

0 comments on commit dac6efb

Please sign in to comment.