name: CI on: [pull_request] jobs: tests: name: Tests runs-on: ubuntu-latest strategy: matrix: ruby-version: ['3.2', '3.1.3', '3.0.5', '2.7.4'] steps: - name: Checkout code uses: actions/checkout@v3 - name: Set up Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@v1 with: bundler-cache: true ruby-version: ${{ matrix.ruby-version }} - name: Install dependencies run: bundle install - name: Lint run: | bundle exec standardrb - name: Run tests run: | bundle exec rake