Skip to content

Commit 206a490

Browse files
committed
Update Ruby version to 3.1.4 in RuboCop and CI config
1 parent c946a2b commit 206a490

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: git-fame
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
concurrency:
66
group: ${{ github.workflow }}-${{ github.ref }}
@@ -22,7 +22,7 @@ jobs:
2222
uses: ruby/setup-ruby@v1
2323
with:
2424
bundler-cache: true
25-
ruby-version: 3.3.0
25+
ruby-version: 3.1.4
2626

2727
- name: Run Rubocop
2828
run: bundle exec rubocop
@@ -116,8 +116,7 @@ jobs:
116116
uses: ruby/setup-ruby@v1
117117
with:
118118
bundler-cache: true
119-
ruby-version: 3.3.0
120-
119+
ruby-version: 3.3.6
121120
- name: Setup git
122121
run: |
123122
git config --global user.email "actions@github.com"

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ require:
55
- rubocop-md
66

77
AllCops:
8-
TargetRubyVersion: 3.3
8+
TargetRubyVersion: 3.1
99
NewCops: enable
1010
Exclude: ['vendor/**/*']
1111

0 commit comments

Comments
 (0)