aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/jekyll.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml
index 916d73e..42482f3 100644
--- a/.github/workflows/jekyll.yml
+++ b/.github/workflows/jekyll.yml
@@ -9,12 +9,13 @@ jobs:
build:
strategy:
matrix:
+ ruby-version: [2.5, 2.6, 2.7]
version: [Gemfile, latest]
include:
- {version: Gemfile, gemfile: Gemfile}
- {version: latest, gemfile: .ci/Gemfile}
runs-on: ubuntu-18.04
- name: 'Build / ${{ matrix.version }}'
+ name: 'Build / ${{ matrix.ruby-version }} / ${{ matrix.version }}'
env:
BUNDLE_GEMFILE: '${{ matrix.gemfile }}'
steps:
@@ -23,7 +24,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '2.6'
+ ruby-version: '${{ matrix.ruby-version }}'
bundler-cache: true
- name: jekyll build
run: bundle exec jekyll build --drafts
@@ -38,7 +39,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '2.6'
+ ruby-version: '2.7'
bundler-cache: true
- name: Build
run: bundle exec jekyll build --baseurl /jekyll-theme