Skip to content

Commit 6bfdb98

Browse files
committed
Update rubocop config, Do not lock Ruby patch version in CI
1 parent cea8aa0 commit 6bfdb98

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ jobs:
1212
name: Ruby ${{ matrix.ruby }}
1313
strategy:
1414
matrix:
15-
ruby:
16-
- "3.1.7"
17-
- "3.2.9"
18-
- "3.3.10"
19-
- "3.4.7"
15+
ruby: ["3.1", "3.2", "3.3", "3.4"]
2016
steps:
2117
- name: Checkout code
2218
uses: actions/checkout@v4
@@ -39,7 +35,7 @@ jobs:
3935
- name: Install Ruby and gems
4036
uses: ruby/setup-ruby@v1
4137
with:
42-
ruby-version: 3.4.7
38+
ruby-version: 3.4
4339
bundler-cache: true
4440

4541
- name: Run Rubocop

.rubocop.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ AllCops:
1212
TargetRubyVersion: 3.4
1313
NewCops: enable
1414

15+
Layout/LineLength:
16+
Enabled: true
17+
Max: 120
18+
1519
Layout/EmptyLinesAroundAccessModifier:
1620
EnforcedStyle: around
1721

@@ -45,3 +49,6 @@ Rails/ApplicationRecord:
4549

4650
Rails/Date:
4751
Enabled: false
52+
53+
Naming/InclusiveLanguage:
54+
Enabled: false

0 commit comments

Comments
 (0)