From ae813f0cf260f16aa704f51203340303a97f53a1 Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Sat, 10 Jun 2023 19:37:19 +0200 Subject: [PATCH] Enable ruby 3.0 on CI and switch default to 3.0 --- .github/workflows/ci.yml | 3 ++- .ruby-version | 2 +- docker/develop/Dockerfile | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3398ef641..475e2d957 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,8 @@ jobs: fail-fast: false matrix: ruby: - - 2.7 + - '2.7' + - '3.0' db: - mysql - postgresql diff --git a/.ruby-version b/.ruby-version index 1effb0034..9f55b2ccb 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.7 +3.0 diff --git a/docker/develop/Dockerfile b/docker/develop/Dockerfile index 44182f765..6a0e93cda 100644 --- a/docker/develop/Dockerfile +++ b/docker/develop/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/amd64/ruby:2.7-slim-bullseye +FROM docker.io/amd64/ruby:3.0-slim-bullseye RUN DEBIAN_FRONTEND=noninteractive \ apt-get update && \