summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-12-31 14:00:54 -0700
committerGitHub <noreply@github.com>2020-12-31 14:00:54 -0700
commit98d4ee977f0d1af28dd702d9c66d055073e945d9 (patch)
treea7b1de70c756f0162937275fa3011a220b133c30 /.github
parent2e8220fdb2a6547aa7a68a759ea9d02d47ef5151 (diff)
add Ruby 3 to CI matrix; make it primary; use it for releases (PR #3900)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml8
-rw-r--r--.github/workflows/release.yml2
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 990c6d74..df810cdf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,12 +18,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
- ruby: ['2.3', '2.4', '2.5', '2.6', '2.7']
+ ruby: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0']
rouge-version: [~]
asciimath-version: [~]
exclude:
- os: ubuntu-latest
- ruby: '2.7'
+ ruby: '3.0'
include:
- os: ubuntu-latest
ruby: truffleruby-20.2.0
@@ -32,7 +32,7 @@ jobs:
- os: ubuntu-latest
ruby: jruby-9.2.13.0
- os: macos-latest
- ruby: '2.7'
+ ruby: '3.0'
- os: ubuntu-latest
ruby: '2.3'
asciimath-version: '~> 1.0.0'
@@ -40,7 +40,7 @@ jobs:
ruby: '2.3'
rouge-version: '~> 2.0.0'
- os: ubuntu-latest
- ruby: '2.7'
+ ruby: '3.0'
primary: true
runs-on: ${{ matrix.os }}
env:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index fbe5d37f..69c97651 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -18,7 +18,7 @@ jobs:
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '2.7'
+ ruby-version: '3.0'
- name: Configure Bundler
run: |
bundle config --local path .bundle/gems