diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a4aad03..668af67 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -14,7 +14,7 @@ "version": "latest" }, "ghcr.io/devcontainers/features/ruby:1": { - "version": "3.1" // Change to match Ruby version from Gemfile + "version": "3.3.6" // Change to match Ruby version from Gemfile }, "ghcr.io/devcontainers/features/node:1": { "version": 19 // Change Node version as required diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98aa6a3..f0948bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,7 +45,7 @@ jobs: - name: Install Ruby and gems uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2 + ruby-version: 3.3.6 bundler-cache: true - name: Set up Rails @@ -78,7 +78,7 @@ jobs: - name: Install Ruby and gems uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1 + ruby-version: 3.3.6 bundler-cache: true - name: Security audit dependencies run: bundle exec bundler-audit --update diff --git a/Dockerfile b/Dockerfile index 8d36d52..7b70b55 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Inspired by https://dennmart.com/articles/building-lean-docker-images-for-rails-apps/ ##################################################################### -FROM ruby:3.2.3-alpine3.19 AS build +FROM ruby:3.3.6-alpine3.20 AS build RUN apk -U upgrade && apk add --no-cache gcompat postgresql-client build-base libpq-dev tzdata \ && rm -rf /var/cache/apk/* diff --git a/Gemfile b/Gemfile index f90d5d8..eea1016 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,7 @@ source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby '~> 3.1' +ruby '~> 3.3.6' # Gems that have trouble with native packages on alpine. gem 'google-protobuf', force_ruby_platform: true diff --git a/Gemfile.lock b/Gemfile.lock index 2f6b1e4..f61aa42 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -592,7 +592,7 @@ DEPENDENCIES tzinfo-data RUBY VERSION - ruby 3.1.4p223 + ruby 3.3.6p108 BUNDLED WITH 2.3.26