Edge Rails no longer supports Ruby < 3.1 #1152
This file contains 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: Rubocop | |
on: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
rubocop: | |
name: Rubocop | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
- name: Ruby linter | |
run: bundle exec rubocop |