rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.32k stars 731 forks source link

Run Rubocop and Profile CI build once #1805

Closed tancnle closed 2 years ago

tancnle commented 2 years ago

We would like to run Rubocop linting against the minimum supported Ruby version, that is 2.5. Profile and warnings will be run against the latest version of Ruby 3.1 so we can preempt upcoming issues.

Before

Linelint
test (2.5) # Test + Rubocop
test (2.6) # Test + Rubocop
test (2.7) # Test + Rubocop
test (3.0) # Test + Rubocop
test (3.1) # Test + Rubocop + Profile

After

Linelint
RuboCop # Ruby 2.5
Test 2.5
Test 2.6
Test 2.7
Test 3.0
Test 3.1
Profile # Ruby 3.1