Updated .rubocop.yml with suggested rules and applied changes to appe… #12
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: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
entry: | |
- { ruby: "2.7" } | |
- { ruby: "3.0" } | |
- { ruby: "3.1" } | |
- { ruby: "3.2" } | |
- { ruby: ruby-head, ignore: true } | |
- { ruby: jruby-head, ignore: true } | |
name: Test (ruby=${{ matrix.entry.ruby }}) | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: ${{ matrix.entry.ruby }} | |
- name: Run Tests | |
continue-on-error: ${{ matrix.entry.ignore || false }} | |
run: bundle exec rspec | |