Skip to content
Snippets Groups Projects
Unverified Commit 4c7226fa authored by Ahmad Farhat's avatar Ahmad Farhat Committed by GitHub
Browse files

Fix CI gem cache (#2673)

parent 68b45253
Branches
Tags
No related merge requests found
...@@ -36,11 +36,23 @@ jobs: ...@@ -36,11 +36,23 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Ruby Setup + Bundle Install - name: Ruby Setup
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: ${{ env.RUBY_VERSION }} ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- name: Bundle cache
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Setup database - name: Setup database
run: | run: |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment