name: test on: push: branches: - master pull_request: branches: - '*' schedule: - cron: '0 0 * * 0' jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: ['3.0', '2.7', '2.6', '2.5', '2.4'] name: Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@master - name: Setup ruby ${{ matrix.ruby }} uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} architecture: 'x64' - name: Build and test with Rake run: | gem install bundler bundle install --jobs 4 --retry 3 bundle exec rake