Update README #241
This file contains hidden or 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 | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby-version: [3.2.0, 3.3.0] | |
| appraisal: ["rails_7.1", "rails_7.2", "rails_8.0"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby ${{ matrix.ruby-version }} | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
| - name: Install appraisal dependencies | |
| run: bundle exec appraisal install | |
| - name: Run appraisal | |
| run: bundle exec appraisal ${{ matrix.appraisal }} rspec | |
| - name: Lint code for consistent style | |
| run: bundle exec rubocop |