chore(deps): bump the gha-production-dependencies group across 1 directory with 2 updates #621
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@v3 | |
| - name: Setup Ruby and install gems | |
| uses: ruby/setup-ruby@12fd324f1d0b43274fdc8130f6980590a667c455 | |
| 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 |