Skip to content

Commit 17ef278

Browse files
committed
break spec/dummy gem cache
1 parent d6d59a2 commit 17ef278

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/lint-js-and-ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ jobs:
6060
uses: actions/cache@v4
6161
with:
6262
path: spec/dummy/vendor/bundle
63-
key: dummy-app-gem-cache-${{ hashFiles('spec/dummy/Gemfile.lock') }}-oldest
63+
key: spec-dummy-gem-cache-${{ hashFiles('spec/dummy/Gemfile.lock') }}-oldest
6464
- name: Install Ruby Gems for dummy app
6565
run: |
6666
cd spec/dummy
6767
bundle lock --add-platform 'x86_64-linux'
6868
if ! bundle check --path=vendor/bundle; then
69-
bundle _2.5.9_ install --path=vendor/bundle --jobs=4 --retry=3
69+
bundle _2.5.9_ install --path=vendor/bundle --jobs=4 --retry=3 --frozen
7070
fi
7171
- name: generate file system-based packs
7272
run: cd spec/dummy && RAILS_ENV="test" bundle exec rake react_on_rails:generate_packs

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ jobs:
5757
uses: actions/cache@v4
5858
with:
5959
path: spec/dummy/vendor/bundle
60-
key: dummy-app-gem-cache-${{ hashFiles('spec/dummy/Gemfile.lock') }}-${{ matrix.versions }}
60+
key: spec-dummy-gem-cache-${{ hashFiles('spec/dummy/Gemfile.lock') }}-${{ matrix.versions }}
6161
- name: Install Ruby Gems for dummy app
6262
run: |
6363
cd spec/dummy
6464
bundle lock --add-platform 'x86_64-linux'
6565
if ! bundle check --path=vendor/bundle; then
66-
bundle _2.5.9_ install --path=vendor/bundle --jobs=4 --retry=3
66+
bundle _2.5.9_ install --path=vendor/bundle --jobs=4 --retry=3 --frozen
6767
fi
6868
- name: generate file system-based packs
6969
run: cd spec/dummy && RAILS_ENV="test" bundle exec rake react_on_rails:generate_packs
@@ -120,7 +120,7 @@ jobs:
120120
uses: actions/cache@v4
121121
with:
122122
path: spec/dummy/vendor/bundle
123-
key: dummy-app-gem-cache-${{ hashFiles('spec/dummy/Gemfile.lock') }}-${{ matrix.versions }}
123+
key: spec-dummy-gem-cache-${{ hashFiles('spec/dummy/Gemfile.lock') }}-${{ matrix.versions }}
124124
- id: get-sha
125125
run: echo "sha=\"$(git rev-parse HEAD)\"" >> "$GITHUB_OUTPUT"
126126
- name: Save test Webpack bundles to cache (for build number checksum used by RSpec job)
@@ -153,7 +153,7 @@ jobs:
153153
cd spec/dummy
154154
bundle lock --add-platform 'x86_64-linux'
155155
if ! bundle check --path=vendor/bundle; then
156-
bundle _2.5.9_ install --path=vendor/bundle --jobs=4 --retry=3
156+
bundle _2.5.9_ install --path=vendor/bundle --jobs=4 --retry=3 --frozen
157157
fi
158158
- name: Ensure minimum required Chrome version
159159
run: |

0 commit comments

Comments
 (0)