name: CI on: workflow_dispatch: pull_request: push: branches: - main jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: bundler-cache: true - name: Style checking run: bundle exec rake rubocop - name: Run tests run: bundle exec rake spec