From c63b2d7d6875e2e92bf61f060656ea9298fbc5d4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 11 Jun 2021 15:14:24 +0300 Subject: workflows/jekyll: include Ruby 2.7 --- .github/workflows/jekyll.yml | 7 ++++--- 1 file 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 -- cgit v1.2.3