From c45e0311552e320417bb3d6cab4296d678e14037 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Wed, 27 Dec 2023 23:56:39 +0800 Subject: [PATCH] build(deps): specify the minor version number of ruby (#1431) Resolves #1429 --- .github/workflows/ci.yml | 6 +++++- .github/workflows/pages-deploy.yml.hook | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee81876..c7b1f5a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,10 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + ruby: ["3.0", "3.1", "3.2"] + steps: - name: Checkout uses: actions/checkout@v4 @@ -28,7 +32,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3 + ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Setup Node diff --git a/.github/workflows/pages-deploy.yml.hook b/.github/workflows/pages-deploy.yml.hook index 87089c9..0d884bc 100644 --- a/.github/workflows/pages-deploy.yml.hook +++ b/.github/workflows/pages-deploy.yml.hook @@ -42,7 +42,7 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3 + ruby-version: 3.2 bundler-cache: true - name: Build site