Skip to content

Commit a1c615e

Browse files
committed
Upgrade CI
1 parent e27ac8d commit a1c615e

File tree

4 files changed

+33
-11
lines changed

4 files changed

+33
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
strategy:
2020
matrix:
21-
ruby-version: [ '3.0', '3.1', '3.2', '3.3', 'head' ]
21+
ruby-version: [ '2.7', '3.0', '3.1', '3.2', '3.3', 'head' ]
2222

2323
steps:
2424
- uses: actions/checkout@v3

.rubocop.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
inherit_from: .rubocop_todo.yml
22

33
require:
4+
- standard
5+
- standard-custom
6+
- standard-performance
47
- rubocop-performance
58
- rubocop-rspec
69
- rubocop-rake
7-
- standard
810

911
inherit_gem:
10-
standard:
11-
- config/base.yml
12-
- config/ruby-2.5.yml
13-
- config/ruby-2.6.yml
14-
- config/ruby-2.7.yml
15-
- config/ruby-3.0.yml
12+
standard: config/ruby-3.0.yml
13+
standard-custom: config/base.yml
14+
standard-performance: config/base.yml
1615

1716
AllCops:
18-
# Last supported version before EOL
19-
# See: https://endoflife.date/ruby
2017
TargetRubyVersion: 3.0
2118
NewCops: enable
2219
Exclude:
20+
- '**/tmp/**/*'
2321
- '**/vendor/**/*'

Appraisals

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,26 @@ end
1515
appraise "elasticsearch-8.9" do
1616
gem "elasticsearch", "~> 8.9.0"
1717
end
18+
19+
appraise "elasticsearch-8.15" do
20+
gem "elasticsearch", "~> 8.15.0"
21+
end
22+
23+
# Supported versions of Rails:
24+
# https://endoflife.date/rails
25+
#
26+
appraise "rails-6.1" do
27+
gem "activesupport", "~> 7.0.x"
28+
end
29+
30+
appraise "rails-7.0" do
31+
gem "activesupport", "~> 7.0.x"
32+
end
33+
34+
appraise "rails-7.1" do
35+
gem "activesupport", "~> 7.1.x"
36+
end
37+
38+
appraise "rails-7.2" do
39+
gem "activesupport", "~> 7.2.x"
40+
end

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ gemspec
55

66
gem "gem-release"
77
gem "simplecov_json_formatter"
8-
gem "sqlite3", "~> 1.4.0"
8+
gem "sqlite3"
9+
gem "amazing_print"

0 commit comments

Comments
 (0)