Skip to content

Commit cb5cccf

Browse files
petergoldsteinstanhu
authored andcommitted
Add Ruby 3.1 to the CI matrix
1 parent ec03912 commit cb5cccf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
ruby: ["2.5", "2.6", "2.7", "3.0"]
17+
ruby: ["2.5", "2.6", "2.7", "3.0", "3.1"]
1818
name: Ruby ${{ matrix.ruby }}
1919

2020
steps:

Gemfile

+6
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@
22

33
source 'https://rubygems.org'
44
gemspec
5+
6+
if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('3.1')
7+
gem 'net-imap', require: false
8+
gem 'net-pop', require: false
9+
gem 'net-smtp', require: false
10+
end

0 commit comments

Comments
 (0)