Skip to content

Commit 579fa6a

Browse files
committed
fix: add Ruby setup to CI test workflow
1 parent 4bf4bdb commit 579fa6a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,12 @@ jobs:
1616
- name: Setup
1717
uses: ./.github/actions/setup
1818

19+
# This is required for @prettier/plugin-ruby to work correctly
20+
- name: Setup Ruby
21+
uses: ruby/setup-ruby@v1
22+
with:
23+
ruby-version: "3.4" # Not needed with a .ruby-version, .tool-versions or mise.toml
24+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
25+
1926
- name: Test
2027
run: pnpm -s test:ci

0 commit comments

Comments
 (0)