name: ubuntu on: push: branches: - master pull_request: branches: - '*' schedule: - cron: '0 0 * * 0' jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: ['2.6.x', '2.5.x', '2.4.x'] name: Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@master - name: Setup ruby ${{ matrix.ruby }} uses: actions/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 test