|
56 | 56 | uses: actions/cache@v4 |
57 | 57 | with: |
58 | 58 | path: spec/dummy/node_modules |
59 | | - key: dummy-app-node-modules-cache-${{ hashFiles('spec/dummy/package.json') }}-${{ matrix.versions }} |
| 59 | + key: dummy-app-node-modules-cache-${{ hashFiles('spec/dummy/yarn.lock') }}-${{ matrix.versions }} |
60 | 60 | - name: yalc add react-on-rails |
61 | 61 | run: cd spec/dummy && yalc add react-on-rails |
62 | 62 | - name: Install Node modules with Yarn for dummy app |
|
65 | 65 | uses: actions/cache@v4 |
66 | 66 | with: |
67 | 67 | path: spec/dummy/vendor/bundle |
68 | | - key: dummy-app-gem-cache-${{ hashFiles('react_on_rails.gemspec') }}-${{ hashFiles('Gemfile.development_dependencies') }}-${{ matrix.versions }} |
| 68 | + key: dummy-app-gem-cache-${{ hashFiles('spec/dummy/Gemfile.lock') }}-${{ matrix.versions }} |
69 | 69 | - name: Install Ruby Gems for dummy app |
70 | 70 | run: | |
71 | 71 | cd spec/dummy |
@@ -126,17 +126,17 @@ jobs: |
126 | 126 | uses: actions/cache@v4 |
127 | 127 | with: |
128 | 128 | path: vendor/bundle |
129 | | - key: package-app-gem-cache-${{ hashFiles('react_on_rails.gemspec') }}-${{ hashFiles('Gemfile.development_dependencies') }}-${{ matrix.versions }} |
| 129 | + key: package-app-gem-cache-${{ hashFiles('Gemfile.lock') }}-${{ matrix.versions }} |
130 | 130 | - name: Save dummy app ruby gems to cache |
131 | 131 | uses: actions/cache@v4 |
132 | 132 | with: |
133 | 133 | path: spec/dummy/vendor/bundle |
134 | | - key: dummy-app-gem-cache-${{ hashFiles('react_on_rails.gemspec') }}-${{ hashFiles('Gemfile.development_dependencies') }}-${{ matrix.versions }} |
| 134 | + key: dummy-app-gem-cache-${{ hashFiles('spec/dummy/Gemfile.lock') }}-${{ matrix.versions }} |
135 | 135 | - name: Save spec/dummy/node_modules to cache |
136 | 136 | uses: actions/cache@v4 |
137 | 137 | with: |
138 | 138 | path: spec/dummy/node_modules |
139 | | - key: dummy-app-node-modules-cache-${{ hashFiles('spec/dummy/package.json') }}-${{ matrix.versions }} |
| 139 | + key: dummy-app-node-modules-cache-${{ hashFiles('spec/dummy/yarn.lock') }}-${{ matrix.versions }} |
140 | 140 | - id: get-sha |
141 | 141 | run: echo "sha=\"$(git rev-parse HEAD)\"" >> "$GITHUB_OUTPUT" |
142 | 142 | - name: Save test Webpack bundles to cache (for build number checksum used by RSpec job) |
|
0 commit comments