build(deps): specify the minor version number of ruby (#1431)

Resolves #1429
This commit is contained in:
Cotes Chung 2023-12-27 23:56:39 +08:00 committed by GitHub
parent 4a2b89d0b6
commit c45e031155
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -19,6 +19,10 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["3.0", "3.1", "3.2"]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -28,7 +32,7 @@ jobs:
- name: Setup Ruby - name: Setup Ruby
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: 3 ruby-version: ${{ matrix.ruby }}
bundler-cache: true bundler-cache: true
- name: Setup Node - name: Setup Node

View file

@ -42,7 +42,7 @@ jobs:
- name: Setup Ruby - name: Setup Ruby
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: 3 ruby-version: 3.2
bundler-cache: true bundler-cache: true
- name: Build site - name: Build site