workflows: improve performance of github CI

- Bump actions/checkout to v2
- Limit number of posts to be built to 10
This commit is contained in:
erciccione 2020-07-17 15:14:50 +02:00
parent 9bfde279ff
commit eaf89cc355
No known key found for this signature in database
GPG key ID: 762AF8C608E56CDF

View file

@ -11,7 +11,7 @@ jobs:
ruby: [ '2.4', '2.5', '2.6', '2.7' ]
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
@ -20,4 +20,4 @@ jobs:
- name: bundle install
run: bundle install --jobs 4 --retry 3
- name: build site
run: bundle exec jekyll build
run: bundle exec jekyll build --limit-posts 10