WIP: Add cop for unscoped AR class methods #489
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: CI | |
permissions: | |
contents: read | |
on: pull_request | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby_version: ["3.0", "3.1", "3.2", "3.3"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update .ruby-version with matrix value | |
run: echo "${{ matrix.ruby_version }}" >| .ruby-version | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@401c19e14f474b54450cd3905bb8b86e2c8509cf | |
with: | |
bundler-cache: true | |
- name: Run tests | |
run: bundle exec rake |