name: Ruby on: workflow_dispatch: pull_request: push: branches: [ $default-branch ] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 2.4 - name: Install dependencies run: bundle install - name: Run tests run: bundle exec rake