From 07e74c610755ac96c3b2b295c880397e446f300d Mon Sep 17 00:00:00 2001 From: Yuya Takeyama Date: Fri, 3 Nov 2023 07:57:58 +0000 Subject: [PATCH] Support Ruby 3.2 and drop support of Ruby 2.7 Ruby 2.7 is no longer maintained --- .github/workflows/publish-gem.yaml | 2 +- .github/workflows/test.yaml | 2 +- Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-gem.yaml b/.github/workflows/publish-gem.yaml index 54033fd..197cdfa 100644 --- a/.github/workflows/publish-gem.yaml +++ b/.github/workflows/publish-gem.yaml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.1' + ruby-version: '3.2' bundler: latest bundler-cache: true - name: Setup credentials diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 477133d..7c26be7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -14,9 +14,9 @@ jobs: - ubuntu-latest - macos-latest ruby: - - '2.7' - '3.0' - '3.1' + - '3.2' runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/Dockerfile b/Dockerfile index d7a8e95..8de1dc4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.1-alpine +FROM ruby:3.2-alpine COPY . /app WORKDIR /app