File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 14
14
15
15
- name : Restore cache
16
16
uses : actions/cache@v4
17
+ id : cache
17
18
with :
18
- key : cache-${{ hashFiles('bun.lock', 'Gemfile ') }}
19
+ key : cache-${{ hashFiles('bun.lock', 'gemfiles/*.lock ') }}
19
20
restore-keys : cache
20
21
path : |
21
22
node_modules
32
33
bundler-cache : false
33
34
34
35
- name : Install dependencies
35
- run : bun i && bundle
36
+ if : steps.cache.outputs.cache-hit != 'true'
37
+ run : bun i && bundle && gem info rails
36
38
37
39
- name : Run linters
38
40
run : bin/lint
48
50
49
51
- name : Restore cache
50
52
uses : actions/cache@v4
53
+ id : cache
51
54
with :
52
- key : cache-${{ hashFiles('bun.lock', 'Gemfile ') }}
55
+ key : cache-${{ hashFiles('bun.lock', 'gemfiles/*.lock ') }}
53
56
restore-keys : cache
54
57
path : |
55
58
node_modules
@@ -65,13 +68,12 @@ jobs:
65
68
ruby-version : ${{ matrix.ruby }}
66
69
bundler-cache : false
67
70
68
- - name : Set up Hotsheet
69
- run : |
70
- bun i --frozen-lockfile
71
- bundle
72
- bundle exec appraisal install
73
- bun run build
74
- bundle exec rails db:schema:load
71
+ - name : Install dependencies
72
+ if : steps.cache.outputs.cache-hit != 'true'
73
+ run : bun i && bundle && bundle exec appraisal install && gem info rails
74
+
75
+ - name : Bundle assets and prepare database
76
+ run : bun run build && bundle exec rails db:schema:load
75
77
76
78
- name : Run tests
77
79
run : bin/check
You can’t perform that action at this time.
0 commit comments