Skip to content

Commit 07c3934

Browse files
committed
Replace deprecated setup-ruby action
1 parent eb95350 commit 07c3934

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Diff for: .github/workflows/jekyll.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ jobs:
1717
1818
# Ruby-specific steps
1919
- name: Set up Ruby 2.6
20-
uses: actions/setup-ruby@v1
20+
uses: ruby/setup-ruby@ece82769428359c077b5a5eaff268902a303c101
2121
with:
2222
ruby-version: 2.6.x
23+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2324
- name: Build and test with Rake
24-
run: |
25-
gem install bundler
26-
bundle install --jobs 4 --retry 3
27-
bundle exec rake
25+
run: bundle exec rake
2826

2927
# Jekyll-specific steps
3028
- name: Build the site in the jekyll/builder container

0 commit comments

Comments
 (0)