Gem updates #43
Workflow file for this run
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: | |
| push: | |
| branches: | |
| - develop | |
| - main | |
| - master | |
| pull_request: | |
| jobs: | |
| test: | |
| name: 'Ruby: ${{ matrix.ruby }}, Rails: ${{ matrix.rails }}' | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: | |
| - "4.0" | |
| - "3.4" | |
| - "3.3" | |
| - "3.2" | |
| - "3.1" | |
| - "3.0" | |
| rails: | |
| - "8.1" | |
| - "8.0" | |
| - "7.2" | |
| - "7.1" | |
| - "7.0" | |
| - "6.1" | |
| - "none" | |
| exclude: | |
| # Rails 6.1 is EOL and not compatible with Ruby 3.4+ | |
| - ruby: "3.4" | |
| rails: "6.1" | |
| - ruby: "4.0" | |
| rails: "6.1" | |
| # Rails 7.2+ requires Ruby >= 3.1 | |
| - ruby: "3.0" | |
| rails: "7.2" | |
| # Rails 8.0+ requires Ruby >= 3.2 | |
| - ruby: "3.0" | |
| rails: "8.0" | |
| - ruby: "3.1" | |
| rails: "8.0" | |
| - ruby: "3.0" | |
| rails: "8.1" | |
| - ruby: "3.1" | |
| rails: "8.1" | |
| env: | |
| RAILS_VERSION: ${{ matrix.rails }} | |
| BUNDLE_WITHOUT: development | |
| BUNDLE_DISABLE_SHARED_GEMS: true | |
| CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Delete Gemfile.lock | |
| run: rm Gemfile.lock | |
| if: matrix.rails != '8.1' # Gemfile.lock is only generated for latest rails version | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Run tests | |
| run: test/scripts/ci.sh |