Skip to content

Commit

Permalink
Switch from rubocop to standardrb
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Oct 28, 2023
1 parent bb8bb31 commit c309157
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 701 deletions.
9 changes: 7 additions & 2 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 @@ -30,10 +30,15 @@ jobs:
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: Run seed tasks
run: rails db:seed

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

This file was deleted.

Loading

0 comments on commit c309157

Please sign in to comment.