Skip to content

Commit

Permalink
Merge pull request #1814 from codetriage/schneems/rubocop
Browse files Browse the repository at this point in the history
Replace rubocop manual linting with standardrb opinonated linting
  • Loading branch information
schneems authored Oct 28, 2023
2 parents bb8bb31 + 6a25650 commit 9fbbf8c
Show file tree
Hide file tree
Showing 153 changed files with 1,266 additions and 1,890 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["3.0", 3.1]
ruby: ["3.1"]
name: Running tests with Ruby ${{ matrix.ruby }}
services:
postgres:
Expand All @@ -29,11 +29,15 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Linting
run: |
bundle exec standardrb
- name: Setup database
run: |
cp config/database.ci.yml config/database.yml
RAILS_ENV=test bundle exec rake db:create db:schema:load
- name: Run tests
run: bin/rake test
- name: Ensure seed task still works
run: RAILS_ENV=test bin/rails db:seed

170 changes: 0 additions & 170 deletions .rubocop.yml

This file was deleted.

Loading

0 comments on commit 9fbbf8c

Please sign in to comment.