Skip to content

Commit 4c5b600

Browse files
tangrufusrafaelfranca
authored andcommitted
Add oven-sh/setup-bun to GitHub CI when generating an app with bun
1 parent 082f269 commit 4c5b600

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

railties/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* Use `oven-sh/setup-bun` in GitHub CI when generating an app with bun
2+
3+
*TangRufus*
4+
15
* Disable `pidfile` generation in production environment.
26

37
*Hans Schnedlitz*

railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ jobs:
109109
with:
110110
ruby-version: .ruby-version
111111
bundler-cache: true
112+
<%- if using_bun? -%>
113+
114+
- uses: oven-sh/setup-bun@v1
115+
with:
116+
bun-version: <%= dockerfile_bun_version %>
117+
<%- end -%>
112118

113119
- name: Run tests
114120
env:

0 commit comments

Comments
 (0)