Skip to content

Commit

Permalink
CI: Update versions in test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jirutka committed May 5, 2024
1 parent 312d41a commit 7031427
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,16 @@ jobs:
ruby:
- head
- jruby-head
- '3.3'
- '3.2'
- '3.1'
- '2.7'
- '2.6'
- '2.5'
- '2.4'
asciidoctor: [2.0.10]
asciidoctor: [2.0.22]
include:
- { asciidoctor: 'git:main', ruby: '2.7' }
- { asciidoctor: 1.5.8 , ruby: '2.7' }
- { asciidoctor: 1.5.7.1 , ruby: '2.7' }
- { asciidoctor: 1.5.7 , ruby: '2.7' }
- { asciidoctor: 1.5.6.2 , ruby: '2.7' }
- { asciidoctor: 1.5.6.1 , ruby: '2.4' }
- { asciidoctor: 1.5.6 , ruby: '2.4' }
- { asciidoctor: 'git:main', ruby: '3.3' }
- { asciidoctor: 2.0.20 , ruby: '3.2' }
- { asciidoctor: 2.0.16 , ruby: '3.0' }
- { asciidoctor: 2.0.10 , ruby: '2.7' }
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
ASCIIDOCTOR_VERSION: ${{ matrix.asciidoctor }}
Expand All @@ -48,7 +45,7 @@ jobs:

- run: bundle exec rake build:js
# FIXME: update Opal
if: endsWith(matrix.ruby, 'head') == false
if: matrix.ruby < 3.2 && endsWith(matrix.ruby, 'head') == false

- run: bundle exec rake readme2md

Expand All @@ -64,12 +61,12 @@ jobs:

- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.2
bundler-cache: true

- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
registry-url: https://registry.npmjs.org

- run: bundle exec rake build:js
Expand Down

0 comments on commit 7031427

Please sign in to comment.