name: Ruby on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Ruby 3.1 uses: actions/setup-ruby@v1 with: ruby-version: 3.1.x - name: Build and test with Rake run: | sudo apt-get update DEBIAN_FRONTEND=noninteractive sudo apt-get install --yes bundler rm Gemfile.lock || true gem install bundler bundle install --jobs 4 --retry 3 bundle exec rake