Skip to content

Commit 280156b

Browse files
committed
check if it fixes the failing rubocop
1 parent 14d938d commit 280156b

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/ci.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ on:
66
jobs:
77
test:
88
name: tests / ruby
9-
runs-on: ubuntu-latest
9+
runs-on:
10+
group: SelfHostedDefault
11+
labels: ubuntu-22.04-small
1012

1113
services:
1214
redis:
@@ -22,11 +24,11 @@ jobs:
2224

2325
strategy:
2426
matrix:
25-
ruby-version: ['2.6.10', '3.0']
27+
ruby-version: ['2.7.8', '3.0']
2628
steps:
2729
- uses: actions/checkout@v3
2830
- name: Set up Ruby ${{ matrix.ruby-version }}
29-
uses: ruby/setup-ruby@v1.133.0
31+
uses: ruby/setup-ruby@v1
3032
with:
3133
ruby-version: ${{ matrix.ruby-version }}
3234
bundler-cache: true
@@ -37,15 +39,17 @@ jobs:
3739
run: bundle exec rake
3840
rubocop:
3941
name: linters / rubocop
40-
runs-on: ubuntu-latest
42+
runs-on:
43+
group: SelfHostedDefault
44+
labels: ubuntu-22.04-small
4145
env:
42-
RUBY_VERSION: 2.6.10
46+
RUBY_VERSION: 2.7.8
4347
steps:
4448
- name: Codebase Checkout
4549
uses: actions/checkout@v3
4650

4751
- name: Setup Ruby
48-
uses: ruby/setup-ruby@v1.133.0
52+
uses: ruby/setup-ruby@v1
4953
with:
5054
ruby-version: ${{ env.RUBY_VERSION }}
5155
bundler-cache: true

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
AllCops:
2-
TargetRubyVersion: 2.6
2+
TargetRubyVersion: 2.7

0 commit comments

Comments
 (0)