1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
name: Rubocop on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Ruby 3.1 uses: ruby/setup-ruby@v1 with: ruby-version: 3.1 bundler-cache: true - name: Run RuboCop run: bundle exec rubocop