More specific target version #59
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: Style checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- edited | |
permissions: | |
contents: read | |
jobs: | |
rubocop: | |
name: Rubocop Action | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby 3.3.5 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3.5 | |
- name: Bundle | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
- name: Run Rubocop | |
run: rubocop | |