From 2f5e3d3eaec76ae5356891afc813e069155c31f7 Mon Sep 17 00:00:00 2001 From: Melanie Matthews Date: Sun, 21 Apr 2024 16:23:40 +1000 Subject: [PATCH] upgrade ruby to 3.3.0 --- .github/workflows/ruby.yml | 11 +++++++---- .tool-versions | 2 +- Gemfile | 2 +- Gemfile.lock | 2 +- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 42999ba9..c58d6cec 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -6,15 +6,18 @@ on: pull_request: branches: [master] +permissions: + contents: read + jobs: unit-tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1 + uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2.3 + ruby-version: "3.3.0" bundler-cache: true - name: Run tests run: bin/rails rspec:unit @@ -24,9 +27,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1 + uses: ruby/setup-ruby@v1 with: - ruby-version: 3.2.3 + ruby-version: "3.3.0" bundler-cache: true - name: Run tests run: bin/rails rubocop diff --git a/.tool-versions b/.tool-versions index c75ae416..df77b7f6 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -ruby 3.2.3 +ruby 3.3.0 nodejs 20.12.2 diff --git a/Gemfile b/Gemfile index 2933220b..2074379d 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -ruby '3.2.3' +ruby '3.3.0' # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem 'rails', '~> 7.1.3', '>= 7.1.3.2' diff --git a/Gemfile.lock b/Gemfile.lock index ce1663ee..27094f23 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -314,7 +314,7 @@ DEPENDENCIES vite_rails RUBY VERSION - ruby 3.2.3p157 + ruby 3.3.0p0 BUNDLED WITH 2.5.7