2020-04-02 17:51:04 +00:00
|
|
|
name: gh-actions/site
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
strategy:
|
2020-04-17 11:28:18 +00:00
|
|
|
fail-fast: false
|
2020-04-02 17:51:04 +00:00
|
|
|
matrix:
|
2021-05-12 09:07:43 +00:00
|
|
|
ruby: [ '2.5', '2.6', '2.7', '3.0.1' ]
|
2020-04-02 17:51:04 +00:00
|
|
|
name: Ruby ${{ matrix.ruby }}
|
|
|
|
steps:
|
2020-07-17 13:14:50 +00:00
|
|
|
- uses: actions/checkout@v2
|
2021-05-12 09:07:43 +00:00
|
|
|
- uses: ruby/setup-ruby@v1
|
2020-04-02 17:51:04 +00:00
|
|
|
with:
|
|
|
|
ruby-version: ${{ matrix.ruby }}
|
|
|
|
- name: install bundler
|
|
|
|
run: gem install bundler:1.17.3
|
|
|
|
- name: bundle install
|
|
|
|
run: bundle install --jobs 4 --retry 3
|
|
|
|
- name: build site
|
2020-07-17 13:14:50 +00:00
|
|
|
run: bundle exec jekyll build --limit-posts 10
|