Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Standardrb #1021

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
19 changes: 19 additions & 0 deletions .github/workflows/standardrb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Run Linter

on:
push:
branches: "main"
pull_request:
branches: "*"

jobs:
standardrb:
name: StandardRB
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.0.7
- run: bundle exec standardrb --format github --parallel
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
- "7.0"
- "7.1"
ruby:
- "3.0.4"
- "3.1.2"
- "3.2.2"
- "3.0.7"
- "3.1.6"
- "3.2.5"

env:
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.gemfile }}.gemfile
Expand Down
32 changes: 17 additions & 15 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
source 'https://rubygems.org'
source "https://rubygems.org"

gemspec

gem 'addressable'
gem 'ammeter'
gem 'appraisal'
gem 'capybara'
gem 'database_cleaner'
gem 'erb_lint', require: false
gem 'factory_bot_rails'
gem 'nokogiri'
gem 'pry', require: false
gem 'rails-controller-testing'
gem 'rspec-rails'
gem 'shoulda-matchers'
gem 'sqlite3', '~> 1.7'
gem 'timecop'
gem "addressable"
gem "ammeter"
gem "appraisal"
gem "capybara"
gem "database_cleaner"
gem "erb_lint", require: false
gem "factory_bot_rails"
gem "ffi", "< 1.17.0"
gem "nokogiri"
gem "pry", require: false
gem "rails-controller-testing"
gem "rspec-rails"
gem "shoulda-matchers"
gem "sqlite3", "~> 1.7"
gem "standard", ">= 1.35.1", require: false
gem "timecop"
Loading
Loading