chore: Model.db now returns raw Db connection, Model.query the query … #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruby | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: ${{ matrix.ruby }} | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: | |
- '3.1' | |
- '3.2' | |
- '3.3' | |
- head | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Lint with RuboCop | |
run: bundle exec rubocop --parallel --ignore-unrecognized-cops | |
- name: Type check with Sorbet | |
run: bundle exec spoom srb tc | |
- name: Run tests with RSpec | |
run: bundle exec rspec |