Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: install gems after loading cache, not before #1288

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,15 @@ jobs:
bundler-cache: false
- name: Delete and recreate Gemfile.lock
run: |
rm Gemfile.lock && bundle lock && bundle update && cat Gemfile.lock
rm Gemfile.lock && bundle lock --update && cat Gemfile.lock
- name: Set up Ruby and bundle install
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
rubygems: ${{ steps.rubygems.outputs.version }}
- name: Generate Appraisal Gemfile.lock files
run: |
bundle exec appraisal bundle lock --update
- name: Cache Appraisal gems
uses: actions/cache@v4
with:
Expand Down