Bump json, puma to 8.0.2, rubocop to 1.87.0, zeitwerk, and other gems on development #620
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: Test supported versions | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| pull_request: {} | |
| jobs: | |
| spec: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ['3.2', '3.3', '3.4', '4.0'] | |
| gemfile: [rails_7_1, rails_7_2, rails_8_0, rails_8_1] | |
| env: | |
| BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Chromedriver | |
| uses: nanasess/setup-chromedriver@v2 | |
| - name: Setup Ruby and install gems | |
| uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f | |
| with: | |
| bundler-cache: true | |
| ruby-version: ${{ matrix.ruby }} | |
| rubygems: 3.7.2 | |
| - name: Migrate DB | |
| run: bin/rake app:db:migrate | |
| - name: Prepare DB | |
| run: bin/rake app:db:test:prepare | |
| - name: Install ImageMagick | |
| run: sudo apt-get update && sudo apt-get install -y imagemagick | |
| - name: Run spec | |
| run: bin/rspec |