Skip to content

Commit 4cab0f7

Browse files
justin808claude
andcommitted
Align workflow with main branch
- Use bundle lock --add-platform for linux compatibility - Remove explicit bundler version from exec commands - Use vendor/bundle path consistently 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent d6e257b commit 4cab0f7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ruby.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,10 @@ jobs:
4747
path: vendor/bundle
4848
key: root-gem-cache-${{ matrix.ruby }}-${{ hashFiles('Gemfile.lock') }}
4949
- name: Install Ruby Gems
50-
run: bundle check --path=${{ github.workspace }}/vendor/bundle || bundle _2.4.9_ install --path=${{ github.workspace }}/vendor/bundle --jobs=4 --retry=3
51-
- name: Restore Gemfile.lock if modified by bundle install
52-
run: git checkout Gemfile.lock
50+
run: bundle lock --add-platform 'x86_64-linux' && bundle check --path=vendor/bundle || bundle _2.4.9_ install --path=vendor/bundle --jobs=4 --retry=3
5351
- run: yarn
54-
- run: bundle _2.4.9_ exec rake react:update
55-
- run: bundle _2.4.9_ exec rake ujs:update
52+
- run: bundle exec rake react:update
53+
- run: bundle exec rake ujs:update
5654
- run: ./check_for_uncommitted_files.sh
5755

5856
test:

0 commit comments

Comments
 (0)