name: CI on: [push, pull_request] jobs: build: runs-on: ubuntu-16.04 strategy: matrix: ruby: [ '2.5', '2.6' ] name: Ruby ${{ matrix.ruby }} sample steps: - uses: actions/checkout@v2 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install and run run: | sudo apt-get -yqq install libpq-dev gem install bundler bundle install bundle exec rspec .