Skip to content

Commit bfea6e5

Browse files
committed
Improve workflow
1 parent c6e8ffb commit bfea6e5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: ci
33
on: push
44

55
env:
6-
BUNDLE_PATH: vendor/bundle
6+
BUNDLE_FROZEN: "true"
7+
BUNDLE_PATH: ~/.bundle
78

89
jobs:
910
lint:
@@ -15,12 +16,12 @@ jobs:
1516
- name: Restore cache
1617
uses: actions/cache@v4
1718
with:
18-
key: cache-${{ hashFiles("bun.lock", "Gemfile") }}
19+
key: cache-${{ hashFiles('bun.lock', 'Gemfile') }}
1920
restore-keys: cache
2021
path: |
2122
node_modules
22-
vendor/bundle
2323
~/.bun/install/cache
24+
~/.bundle
2425
2526
- name: Set up Bun
2627
uses: oven-sh/setup-bun@v2
@@ -49,12 +50,12 @@ jobs:
4950
- name: Restore cache
5051
uses: actions/cache@v4
5152
with:
52-
key: cache-${{ hashFiles("bun.lock", "Gemfile") }}
53+
key: cache-${{ hashFiles('bun.lock', 'Gemfile') }}
5354
restore-keys: cache
5455
path: |
5556
node_modules
56-
vendor/bundle
5757
~/.bun/install/cache
58+
~/.bundle
5859
5960
- name: Set up Bun
6061
uses: oven-sh/setup-bun@v2

0 commit comments

Comments
 (0)