[Quicky] Github Action: cache Ruby's gems

1 min read

You just need bundler-cache: true
# .github/workflows/my_very_special_job.yml
jobs:
my_very_special_job:
steps:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true ###### That's the line
0
Subscribe to my newsletter
Read articles from Thomas Brennetot directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Thomas Brennetot
Thomas Brennetot
10+ years most with Ruby on Rails and JavaScript frontend and some Go. My first language is C for 3 years in university.