name: Ruby on: push: branches: - master pull_request: jobs: build: runs-on: ubuntu-latest name: Ruby ${{ matrix.ruby }} strategy: matrix: ruby: - '2.6' - '2.7' - '3.0' - '3.1' - '3.2' - '3.3' - '3.4' - '4.0' steps: - uses: actions/checkout@v4 with: persist-credentials: false - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run the default task run: bundle exec rake