Skip to content

Commit 9fbbf8c

Browse files
authored
Merge pull request #1814 from codetriage/schneems/rubocop
Replace rubocop manual linting with standardrb opinonated linting
2 parents bb8bb31 + 6a25650 commit 9fbbf8c

File tree

153 files changed

+1266
-1890
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+1266
-1890
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
ruby: ["3.0", 3.1]
10+
ruby: ["3.1"]
1111
name: Running tests with Ruby ${{ matrix.ruby }}
1212
services:
1313
postgres:
@@ -29,11 +29,15 @@ jobs:
2929
with:
3030
ruby-version: ${{ matrix.ruby }}
3131
bundler-cache: true
32-
32+
- name: Linting
33+
run: |
34+
bundle exec standardrb
3335
- name: Setup database
3436
run: |
3537
cp config/database.ci.yml config/database.yml
3638
RAILS_ENV=test bundle exec rake db:create db:schema:load
37-
3839
- name: Run tests
3940
run: bin/rake test
41+
- name: Ensure seed task still works
42+
run: RAILS_ENV=test bin/rails db:seed
43+

.rubocop.yml

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)