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

Upstream generators #158

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@ on:
- '**.md'

jobs:
lint:
runs-on: ubuntu-latest
name: Linter
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler: latest
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop

test:
strategy:
fail-fast: false
Expand All @@ -31,6 +45,11 @@ jobs:
- name: Setup System
run: sudo apt-get install libsqlite3-dev

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -40,6 +59,6 @@ jobs:
RAILS_VERSION: ${{ matrix.rails }}

- name: Run tests
run: bundle exec rake
run: bundle exec rspec
env:
RAILS_VERSION: ${{ matrix.rails }}
15 changes: 15 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
inherit_from: .rubocop_todo.yml

AllCops:
TargetRubyVersion: 3.0
NewCops: enable
SuggestExtensions: false

Metrics:
Enabled: false

Style/Documentation:
Enabled: false

Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: consistent_comma
Loading