summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarat Radchenko <marat@slonopotamus.org>2021-01-02 18:50:42 +0300
committerGitHub <noreply@github.com>2021-01-02 18:50:42 +0300
commit9f45bbe77fdfed654801dc645fa1022450220666 (patch)
tree2b94db8a8dc94dc86f1f2a7f908ae25bac6c857c
parenta41c667bdc08943ed0b063ab10cc762e6cad08f1 (diff)
add Ruby 3.0 to CI (#385)
-rw-r--r--.github/workflows/ci.yml17
-rw-r--r--.github/workflows/release.yml2
2 files changed, 13 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3b0f366..0397b44 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -22,7 +22,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 2.7
+ ruby-version: '3.0'
- name: Build
run: bundle install --jobs 4 --retry 3
- name: Lint
@@ -31,10 +31,17 @@ jobs:
needs: activate
strategy:
matrix:
- ruby: [jruby, 2.3, 2.4, 2.5, 2.6, 2.7]
- platform: [ubuntu-latest, macos-latest, windows-latest]
- asciidoctor: [1.5.6, '']
- runs-on: ${{ matrix.platform }}
+ ruby: [jruby, '2.3', '2.4', '2.5', '2.6', '2.7', '3.0']
+ os: [ubuntu-latest, windows-latest]
+ asciidoctor: ['']
+ include:
+ - ruby: '3.0'
+ os: ubuntu-latest
+ asciidoctor: '1.5.6'
+ - ruby: '3.0'
+ os: macos-latest
+ asciidoctor: ''
+ runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 21c9a3f..7a07417 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -11,7 +11,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 2.7
+ ruby-version: '3.0'
- name: Publish to RubyGems.org
uses: dawidd6/action-publish-gem@v1
with: