Skip to content

Commit

Permalink
CI: avoid caching gems
Browse files Browse the repository at this point in the history
Because we don't commit the lockfile, changes aren't picked up and
incorrect caches restored.

This build ran with Rack 3.1.7 and Sinatra 1.0
https://github.com/sinatra/mustermann/actions/runs/10315713911/job/28556440035#step:3:46

That doesn't happen for me in Docker with Ruby 2.6 and:

    sinatra='~> 3.0.0' bundle install
  • Loading branch information
dentarg committed Aug 9, 2024
1 parent 786f834 commit 22b8be7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
id: bundle
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: "setup-ruby and bundle install outcome: ${{ steps.bundle.outcome }}"
run: echo ""
- name: Run tests
Expand Down

0 comments on commit 22b8be7

Please sign in to comment.