name: CI on: workflow_dispatch: pull_request: push: branches: - main 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