From 492c8e362a8b0ed28dc5f27ca9ca63d01db03285 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Thu, 26 Dec 2024 19:25:40 +0100 Subject: [PATCH] Upgrade to ruby 3.4.1 --- .gitea/workflows/license_finder.yml | 4 +--- .ruby-version | 2 +- Dockerfile | 6 +++--- Dockerfile.dev | 2 +- Gemfile | 2 +- 5 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/license_finder.yml b/.gitea/workflows/license_finder.yml index 993de1b..fb286ab 100644 --- a/.gitea/workflows/license_finder.yml +++ b/.gitea/workflows/license_finder.yml @@ -14,9 +14,7 @@ jobs: - uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - - uses: ruby/setup-ruby@v1.202.0 - with: - ruby-version: '3.4.0' + - uses: ruby/setup-ruby@v1 - name: Install project dependencies run: bundle install --jobs `getconf _NPROCESSORS_ONLN` - name: Run license finder diff --git a/.ruby-version b/.ruby-version index 4e3e8a6..408069a 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -ruby-3.4.0 +ruby-3.4.1 diff --git a/Dockerfile b/Dockerfile index e89643f..a6165a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ # syntax = docker/dockerfile:1 # Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile -ARG RUBY_VERSION=3.4.0 -FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base +ARG RUBY_VERSION=3.4.1 +FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base # Rails app lives here WORKDIR /rails @@ -16,7 +16,7 @@ ENV RAILS_ENV="production" \ RUN apt-get update && apt-get install -y nodejs # Throw-away build stage to reduce size of final image -FROM base as build +FROM base AS build # Install packages needed to build gems RUN apt-get update -qq && \ diff --git a/Dockerfile.dev b/Dockerfile.dev index 64a015b..5dbd815 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,7 +1,7 @@ # syntax = docker/dockerfile:1 # Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile -ARG RUBY_VERSION=3.4.0 +ARG RUBY_VERSION=3.4.1 FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base # Rails app lives here diff --git a/Gemfile b/Gemfile index 56919c3..adaab29 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source 'https://rubygems.org' -ruby '3.4.0' +ruby '3.4.1' gem 'bootsnap', require: false gem 'csv' gem 'importmap-rails'