Skip to content

Build(deps-dev): Update rubocop requirement from ~> 1.66.0 to ~> 1.68.0 #211

Build(deps-dev): Update rubocop requirement from ~> 1.66.0 to ~> 1.68.0

Build(deps-dev): Update rubocop requirement from ~> 1.66.0 to ~> 1.68.0 #211

Workflow file for this run

name: RuboCop
on:
push:
branches: [ devel ]
paths:
- '*.gemspec'
- 'Gemfile'
- 'Gemfile.lock'
- 'bin/tetra'
- 'lib/**.rb'
- 'spec/**.rb'
- '**.rb'
- '.github/workflows/rubocop.yml'
- '.rubocop_todo.yml'
- '.rubocop.yml'
pull_request:
branches: [ master, devel ]
paths:
- '*.gemspec'
- 'Gemfile'
- 'Gemfile.lock'
- 'bin/tetra'
- 'lib/**.rb'
- 'spec/**.rb'
- '**.rb'
- '.github/workflows/rubocop.yml'
- '.rubocop_todo.yml'
- '.rubocop.yml'
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install RuboCop via bundle
run: bundle install
- name: Run RuboCop
run: |
rubocop 'bin/tetra'
rubocop 'lib/tetra.rb'
rubocop 'lib/tetra/'
rubocop 'spec/spec_helper.rb'
rubocop 'spec/lib'
rubocop 'tetra.gemspec'