Skip to content

Commit 9d3adda

Browse files
Revert "revert this: update gems cache keys"
This reverts commit 2c00d63.
1 parent 5ad2608 commit 9d3adda

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

.github/workflows/examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
uses: actions/cache@v4
145145
with:
146146
path: react_on_rails/vendor/bundle
147-
key: package-app-gem-cache-${{ hashFiles('react_on_rails/Gemfile.lock') }}-2-ruby${{ matrix.ruby-version }}-${{ matrix.dependency-level }}
147+
key: package-app-gem-cache-${{ hashFiles('react_on_rails/Gemfile.lock') }}-ruby${{ matrix.ruby-version }}-${{ matrix.dependency-level }}
148148
- id: get-sha
149149
run: echo "sha=\"$(git rev-parse HEAD)\"" >> "$GITHUB_OUTPUT"
150150
- name: Install Node modules with pnpm for renderer package

.github/workflows/gem-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
uses: actions/cache@v4
129129
with:
130130
path: react_on_rails/vendor/bundle
131-
key: package-app-gem-cache-${{ hashFiles('react_on_rails/Gemfile.lock') }}-2-${{ matrix.ruby-version }}-${{ matrix.dependency-level }}
131+
key: package-app-gem-cache-${{ hashFiles('react_on_rails/Gemfile.lock') }}-${{ matrix.ruby-version }}-${{ matrix.dependency-level }}
132132
- name: Install Ruby Gems for package
133133
run: cd react_on_rails && (bundle check --path=vendor/bundle || bundle _2.5.9_ install --path=vendor/bundle --jobs=4 --retry=3)
134134
- name: Git Stuff

.github/workflows/integration-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
uses: actions/cache@v4
161161
with:
162162
path: react_on_rails/spec/dummy/vendor/bundle
163-
key: dummy-app-gem-cache-${{ hashFiles('react_on_rails/spec/dummy/Gemfile.lock') }}-2-ruby${{ matrix.ruby-version }}-${{ matrix.dependency-level }}
163+
key: dummy-app-gem-cache-${{ hashFiles('react_on_rails/spec/dummy/Gemfile.lock') }}-ruby${{ matrix.ruby-version }}-${{ matrix.dependency-level }}
164164
- name: Install Ruby Gems for dummy app
165165
run: |
166166
cd react_on_rails/spec/dummy
@@ -237,12 +237,12 @@ jobs:
237237
uses: actions/cache@v4
238238
with:
239239
path: vendor/bundle
240-
key: package-app-gem-cache-${{ hashFiles('Gemfile.lock') }}-2-ruby${{ matrix.ruby-version }}-${{ matrix.dependency-level }}
240+
key: package-app-gem-cache-${{ hashFiles('Gemfile.lock') }}-ruby${{ matrix.ruby-version }}-${{ matrix.dependency-level }}
241241
- name: Save dummy app ruby gems to cache
242242
uses: actions/cache@v4
243243
with:
244244
path: react_on_rails/spec/dummy/vendor/bundle
245-
key: dummy-app-gem-cache-${{ hashFiles('react_on_rails/spec/dummy/Gemfile.lock') }}-2-ruby${{ matrix.ruby-version }}-${{ matrix.dependency-level }}
245+
key: dummy-app-gem-cache-${{ hashFiles('react_on_rails/spec/dummy/Gemfile.lock') }}-ruby${{ matrix.ruby-version }}-${{ matrix.dependency-level }}
246246
- id: get-sha
247247
run: echo "sha=\"$(git rev-parse HEAD)\"" >> "$GITHUB_OUTPUT"
248248
- name: Save test Webpack bundles to cache (for build number checksum used by RSpec job)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
uses: actions/cache@v4
124124
with:
125125
path: vendor/bundle
126-
key: package-app-gem-cache-${{ hashFiles('Gemfile.lock') }}-2-lint
126+
key: package-app-gem-cache-${{ hashFiles('Gemfile.lock') }}-lint
127127
- name: Install Node modules with pnpm for renderer package
128128

129129
run: |
@@ -153,7 +153,7 @@ jobs:
153153
uses: actions/cache@v4
154154
with:
155155
path: react_on_rails/spec/dummy/vendor/bundle
156-
key: dummy-app-gem-cache-${{ hashFiles('react_on_rails/spec/dummy/Gemfile.lock') }}-2-lint
156+
key: dummy-app-gem-cache-${{ hashFiles('react_on_rails/spec/dummy/Gemfile.lock') }}-lint
157157
- name: Install Ruby Gems for dummy app
158158
run: |
159159
cd react_on_rails/spec/dummy

.github/workflows/precompile-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
uses: actions/cache@v4
123123
with:
124124
path: react_on_rails/spec/dummy/vendor/bundle
125-
key: dummy-app-gem-cache-${{ hashFiles('react_on_rails/spec/dummy/Gemfile.lock') }}-2-precompile
125+
key: dummy-app-gem-cache-${{ hashFiles('react_on_rails/spec/dummy/Gemfile.lock') }}-precompile
126126
- name: Install Ruby Gems for dummy app
127127
run: |
128128
cd react_on_rails/spec/dummy

.github/workflows/pro-integration-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
uses: actions/cache@v4
129129
with:
130130
path: react_on_rails_pro/spec/dummy/vendor/bundle
131-
key: v4-pro-dummy-app-gem-cache-${{ hashFiles('react_on_rails_pro/spec/dummy/Gemfile.lock') }}-2
131+
key: v4-pro-dummy-app-gem-cache-${{ hashFiles('react_on_rails_pro/spec/dummy/Gemfile.lock') }}
132132

133133
- name: Install Node modules with pnpm for Pro package
134134
run: |
@@ -237,7 +237,7 @@ jobs:
237237
uses: actions/cache@v4
238238
with:
239239
path: react_on_rails_pro/spec/dummy/vendor/bundle
240-
key: v4-pro-dummy-app-gem-cache-${{ hashFiles('react_on_rails_pro/spec/dummy/Gemfile.lock') }}-2
240+
key: v4-pro-dummy-app-gem-cache-${{ hashFiles('react_on_rails_pro/spec/dummy/Gemfile.lock') }}
241241

242242
- name: Remove old webpack bundles
243243
run: |
@@ -439,7 +439,7 @@ jobs:
439439
uses: actions/cache@v4
440440
with:
441441
path: react_on_rails_pro/spec/dummy/vendor/bundle
442-
key: v4-pro-dummy-app-gem-cache-${{ hashFiles('react_on_rails_pro/spec/dummy/Gemfile.lock') }}-2
442+
key: v4-pro-dummy-app-gem-cache-${{ hashFiles('react_on_rails_pro/spec/dummy/Gemfile.lock') }}
443443

444444
- name: Remove old webpack bundles
445445
run: |

.github/workflows/pro-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
uses: actions/cache@v4
133133
with:
134134
path: react_on_rails_pro/spec/dummy/vendor/bundle
135-
key: v4-pro-dummy-app-gem-cache-${{ hashFiles('react_on_rails_pro/spec/dummy/Gemfile.lock') }}-2
135+
key: v4-pro-dummy-app-gem-cache-${{ hashFiles('react_on_rails_pro/spec/dummy/Gemfile.lock') }}
136136

137137
- name: Install Ruby Gems for Pro package
138138
run: |

.github/workflows/pro-test-package-and-gem.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
uses: actions/cache@v4
129129
with:
130130
path: react_on_rails_pro/spec/dummy/vendor/bundle
131-
key: v4-pro-dummy-app-gem-cache-${{ hashFiles('react_on_rails_pro/spec/dummy/Gemfile.lock') }}-2
131+
key: v4-pro-dummy-app-gem-cache-${{ hashFiles('react_on_rails_pro/spec/dummy/Gemfile.lock') }}
132132

133133
- name: Install Node modules with pnpm for Pro package
134134
run: |

0 commit comments

Comments
 (0)