summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPeter Goldstein <peter.m.goldstein@gmail.com>2022-01-27 18:59:24 -0800
committerGitHub <noreply@github.com>2022-01-27 18:59:24 -0800
commit3e57eb531f2d028cb56cd1ddab9bb07c70b93abf (patch)
treeca47e5a94dde4b16d7fcd841a9becfb6cb6d9245 /.github
parent4dc015eb522abfaa2323c36024bc214ab8ccb9cc (diff)
downloadhashie-3e57eb531f2d028cb56cd1ddab9bb07c70b93abf.tar.gz
Add Ruby 3.1 to CI (#558)
* Add Ruby 3.1 to CI Update Rubocop for recent Rubies Disable Rubocop run for Rubies before Ruby 2.4 Quote '3.0' in the CI configuration to ensure it loads a 3.0.x Ruby Set RUBYOPT="--disable_error_highlight" so Ruby 3.1 error matchers pass * Add CHANGELOG.md entry * Re-add deleted line from CHANGELOG.md * Set minimum supported Ruby version to 2.4. Remove a number of code bits designed to support Rubies below version 2.4 * Bump version. Remove unneeded require from Gemfile. Add require to spec/support file
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 55a3b9b..229eafc 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -52,14 +52,12 @@ jobs:
fail-fast: false
matrix:
ruby:
- - 3.0
- - 2.7
- - 2.6
- - 2.5
- - 2.4
- - 2.3
- - 2.2
- - 2.1
+ - '3.1'
+ - '3.0'
+ - '2.7'
+ - '2.6'
+ - '2.5'
+ - '2.4'
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
@@ -70,6 +68,8 @@ jobs:
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
+ env:
+ RUBYOPT: "--disable-error_highlight"
run: bundle exec rake
test-jruby: