name: rubocop on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Set up Ruby uses: actions/setup-ruby@v1 with: ruby-version: 3.0 - name: Install dependencies run: | gem install bundler --no-document bundle install - name: Run rubocop run: bundle exec rubocop