rubycdp / ferrum

Headless Chrome Ruby API
https://ferrum.rubycdp.com
MIT License
1.74k stars 123 forks source link

Add Ruby 3.2 to CI. Upgrade actions. Quote 3.0. #350

Closed petergoldstein closed 1 year ago

petergoldstein commented 1 year ago

This PR adds Ruby 3.2 to the CI matrix. It also does a little bit of cleanup.

Specific cleanup items include:

  1. Simplifying the linter file by eliminating the separate bundle install and cache steps, instead using the packaged bundling in setup-ruby as in the test file
  2. Quoting the "3.0" instances. Unquoted "3.0" is truncated to "3" by GitHub Actions, invoking the latest Ruby 3 (at this time of writing Ruby 3.2.1). Quoting ensures the intended Ruby version is loaded.
  3. Updating the checkout and upload-artifact actions to v3

Everything runs green on my fork, although a few test tasks failed on first run and needed to be rerun.