Skip to content

Commit 59c3926

Browse files
authored
Merge pull request #83 from rubocop/ci-test-ruby-4.0
CI: Test with Ruby 4.0
2 parents 1416aa0 + 95a0a3c commit 59c3926

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v6
1919
- uses: ruby/setup-ruby@v1
2020
with:
21-
ruby-version: "3.4"
21+
ruby-version: "4.0"
2222
bundler-cache: true
2323
- run: bundle exec rake confirm_config documentation_syntax_check confirm_documentation
2424

@@ -33,6 +33,7 @@ jobs:
3333
- "3.2"
3434
- "3.3"
3535
- "3.4"
36+
- "4.0"
3637
- ruby-head
3738
- jruby-9.4
3839
task:
@@ -54,7 +55,7 @@ jobs:
5455
- uses: actions/checkout@v6
5556
- uses: ruby/setup-ruby@v1
5657
with:
57-
ruby-version: "3.4"
58+
ruby-version: "4.0"
5859
bundler-cache: true
5960
- run: bundle exec rake spec
6061

@@ -73,7 +74,7 @@ jobs:
7374
echo "gem 'rubocop', github: 'rubocop/rubocop'" > Gemfile.local
7475
- uses: ruby/setup-ruby@v1
7576
with:
76-
ruby-version: "3.4"
77+
ruby-version: "4.0"
7778
bundler-cache: true
7879
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
7980

@@ -93,7 +94,7 @@ jobs:
9394
echo "gem 'rubocop-rspec', github: 'rubocop/rubocop-rspec'" > Gemfile.local
9495
- uses: ruby/setup-ruby@v1
9596
with:
96-
ruby-version: "3.4"
97+
ruby-version: "4.0"
9798
bundler-cache: true
9899
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
99100

@@ -114,6 +115,6 @@ jobs:
114115
EOF
115116
- uses: ruby/setup-ruby@v1
116117
with:
117-
ruby-version: "3.4"
118+
ruby-version: "4.0"
118119
bundler-cache: true
119120
- run: NO_COVERAGE=true bundle exec rake spec

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ source 'https://rubygems.org'
55
gemspec
66

77
gem 'bump'
8+
gem 'irb' # undeclared dependency of yard
89
gem 'rack'
910
gem 'rake'
1011
gem 'rspec', '~> 3.11'

0 commit comments

Comments
 (0)