.github/workflows/ci.yml in paquito-0.11.1 vs .github/workflows/ci.yml in paquito-0.11.2

- old
+ new

@@ -7,34 +7,58 @@ runs-on: ubuntu-latest strategy: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.2' bundler-cache: true - name: Run test run: bundle exec rubocop + install: + runs-on: ubuntu-latest + strategy: + fail-fast: false + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' + bundler-cache: true + + - name: Install gem + run: bundle exec rake install + + rubies: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - ruby: [ ruby-head, '3.3', '3.2', '3.1', '3.0', '2.7' ] + ruby: [ ruby-head, '3.3', '3.2', '3.1'] + rails: [ '7.2', '7.1'] + include: + - ruby: '2.7' + rails: '7.1' + - ruby: '3.0' + rails: '7.1' + env: + BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails }}.gemfile steps: - name: Checkout - uses: actions/checkout@v3 - - name: Remove Gemfile.lock - run: rm Gemfile.lock + uses: actions/checkout@v4 + - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true + - name: Run test run: bundle exec rake - - name: Install gem - run: bundle exec rake install