name: CI on: push: branches: [ main ] pull_request: branches: [ main ] env: BUNDLE_WITHOUT: "development" JRUBY_OPTS: "--dev --debug" jobs: test: strategy: matrix: ruby: - ruby-2.6 - ruby-2.7 - ruby-3.0 - ruby-3.1 - ruby-3.2 - ruby-3.3 - jruby-9.3.0 os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: bundle exec rspec --format progress lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.6 bundler-cache: true - run: bundle exec rubocop --format progress --color