Skip to content

Commit 38bdce5

Browse files
justin808claude
andcommitted
Add bundle lock to test job
Run bundle lock --add-platform before bundle install to resolve any missing gems in the lockfiles. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 31729e3 commit 38bdce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ruby.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
path: test/dummy/vendor/bundle
115115
key: dummy-app-gem-cache-${{ matrix.ruby }}-${{ hashFiles(format('{0}/gemfiles/{1}.gemfile.lock', github.workspace, matrix.gemfile)) }}
116116
- name: Install Ruby Gems for dummy app
117-
run: bundle check --path=test/dummy/vendor/bundle || bundle _2.4.9_ install --frozen --path=test/dummy/vendor/bundle --jobs=4 --retry=3
117+
run: bundle lock --add-platform 'x86_64-linux' && bundle check --path=test/dummy/vendor/bundle || bundle _2.4.9_ install --frozen --path=test/dummy/vendor/bundle --jobs=4 --retry=3
118118
- run: cd test/dummy && yalc add react_ujs && ${{ matrix.js_package_manager.installer }} install
119119
- run: bundle exec rake test
120120
env:

0 commit comments

Comments
 (0)