Fix erroneous main branch name in GitHub CI config #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint Ruby | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| rubocop: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4 | |
| - name: Lint Ruby code with RuboCop | |
| run: | | |
| gem install bundler | |
| bundle install --gemfile gemfiles/rubocop.gemfile --jobs 4 --retry 3 | |
| bundle exec --gemfile gemfiles/rubocop.gemfile rubocop |