Skip to content

Commit

Permalink
Merge pull request #171 from nodeg/update_rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
nodeg authored May 16, 2024
2 parents f1ca425 + f3a2a58 commit dcdcd2d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: RuboCop

on:
push:
branches: [ master, devel ]
branches: [ devel ]
paths:
- '*.gemspec'
- 'Gemfile'
- 'Gemfile.lock'
- 'bin/tetra'
- 'lib/**.rb'
- 'spec/**.rb'
Expand All @@ -16,6 +18,8 @@ on:
branches: [ master, devel ]
paths:
- '*.gemspec'
- 'Gemfile'
- 'Gemfile.lock'
- 'bin/tetra'
- 'lib/**.rb'
- 'spec/**.rb'
Expand All @@ -31,9 +35,9 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- name: Install RuboCop
run: gem install -v 1.57.2 rubocop
ruby-version: '3.3'
- name: Install RuboCop via bundle
run: bundle install
- name: Run RuboCop
run: |
rubocop 'bin/tetra'
Expand Down

0 comments on commit dcdcd2d

Please sign in to comment.