Merge pull request #185 from DavyJonesLocker/chore/test-against-ruby-34 #196
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: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
jobs: | |
rubocop: | |
name: Rubocop | |
runs-on: ${{ matrix.os }} | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
ruby-version: ['3.4'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Ruby linter | |
run: bundle exec rubocop -f github |