.github/workflows/ci.yml in with_model-2.1.6 vs .github/workflows/ci.yml in with_model-2.1.7

- old
+ new

@@ -15,47 +15,30 @@ env: CI: true strategy: fail-fast: false matrix: - ruby-version: ['2.6', '2.7', '3.0', '3.1'] + ruby-version: ['2.7', '3.0', '3.1', '3.2'] active-record-version-env: - - ACTIVE_RECORD_VERSION="~> 5.2.0" - ACTIVE_RECORD_VERSION="~> 6.0.0" - ACTIVE_RECORD_VERSION="~> 6.1.0" - ACTIVE_RECORD_VERSION="~> 7.0.0" allow-failure: [false] include: - - ruby-version: '3.1' - active-record-version-env: ACTIVE_RECORD_VERSION="~> 7.0.0" - allow-failure: true - - ruby-version: '3.1' + - ruby-version: '3.2' active-record-version-env: ACTIVE_RECORD_BRANCH="7-0-stable" allow-failure: true - - ruby-version: '3.1' + - ruby-version: '3.2' active-record-version-env: ACTIVE_RECORD_BRANCH="6-1-stable" allow-failure: true - exclude: - - ruby-version: '3.0' - active-record-version-env: ACTIVE_RECORD_VERSION="~> 5.2.0" - allow-failure: false - - ruby-version: '3.1' - active-record-version-env: ACTIVE_RECORD_VERSION="~> 5.2.0" - allow-failure: false - - ruby-version: '2.6' - active-record-version-env: ACTIVE_RECORD_VERSION="~> 7.0.0" - allow-failure: false - - ruby-version: '3.1' - active-record-version-env: ACTIVE_RECORD_VERSION="~> 7.0.0" - allow-failure: false continue-on-error: ${{ matrix.allow-failure }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - name: Update bundle run: ${{ matrix.active-record-version-env }} bundle update - name: Run tests - run: ${{ matrix.active-record-version-env }} bundle exec rake + run: ${{ matrix.active-record-version-env }} bin/rake