summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-08-24 01:30:49 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-08-24 01:41:19 -0600
commit951f5912eccfba4aaad8e492f3eb272f3f8029e8 (patch)
tree9f9f0203ecd576ab30a5eeb7003448b93bb6dd8a
parentd72fe54346aa6963ae835f48681fa1ed917fb3fe (diff)
enable job for Ruby 3.1 on windows-latest
-rw-r--r--.github/workflows/ci.yml3
-rw-r--r--Gemfile3
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index edb23809..56992ce8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -33,9 +33,6 @@ jobs:
# remove 3.1 on ubuntu-latest to mark as primary
- os: ubuntu-latest
ruby: '3.1'
- # remove 3.1 on windows as it's not yet available
- - os: windows-latest
- ruby: '3.1'
include:
- os: ubuntu-latest
ruby: truffleruby-21.1.0
diff --git a/Gemfile b/Gemfile
index 46bbe507..526b83bf 100644
--- a/Gemfile
+++ b/Gemfile
@@ -16,6 +16,9 @@ group :development do
gem 'pygments.rb', ENV['PYGMENTS_VERSION'] if ENV.key? 'PYGMENTS_VERSION'
# rouge is needed for testing source highlighting; Asciidoctor supports rouge >= 2
gem 'rouge', (ENV.fetch 'ROUGE_VERSION', '~> 3.0')
+ if Gem.win_platform? && (Gem::Version.new RUBY_VERSION) >= (Gem::Version.new '2.6.0')
+ gem 'nokogiri', '~> 1.13.0'
+ end
end
group :docs do