Skip to content

Commit c45e031

Browse files
authored
build(deps): specify the minor version number of ruby (#1431)
Resolves #1429
1 parent 4a2b89d commit c45e031

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
build:
2020
runs-on: ubuntu-latest
2121

22+
strategy:
23+
matrix:
24+
ruby: ["3.0", "3.1", "3.2"]
25+
2226
steps:
2327
- name: Checkout
2428
uses: actions/checkout@v4
@@ -28,7 +32,7 @@ jobs:
2832
- name: Setup Ruby
2933
uses: ruby/setup-ruby@v1
3034
with:
31-
ruby-version: 3
35+
ruby-version: ${{ matrix.ruby }}
3236
bundler-cache: true
3337

3438
- name: Setup Node

.github/workflows/pages-deploy.yml.hook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Ruby
4343
uses: ruby/setup-ruby@v1
4444
with:
45-
ruby-version: 3
45+
ruby-version: 3.2
4646
bundler-cache: true
4747

4848
- name: Build site

0 commit comments

Comments
 (0)