rapid7 / recog

Pattern recognition for hosts, services, and content
Other
662 stars 195 forks source link

CI Workflow: pin upper JRuby version to 9.4.2 as workaround for test failures #578

Closed mkienow-r7 closed 1 year ago

mkienow-r7 commented 1 year ago

Description

Updates the GitHub CI workflow .github/workflows/ci.yml to pin the upper JRuby version to 9.4.2 as a temporary workaround for Nokogiri method redefined warnings causing test failures.

/home/runner/work/recog/recog/vendor/bundle/jruby/3.1.0/gems/nokogiri-1.15.2-java/lib/nokogiri/xml/node.rb:1007: warning: method redefined; discarding old attr
       (RSpec::Expectations::ExpectationNotMetError)

The source of the issue appears to be related to jruby/jruby#7183.

Motivation and Context

Unblock CI testing issue.

How Has This Been Tested?

Types of changes

Checklist: