Skip to content

Commit 900f2fc

Browse files
authored
Use .ruby_version for Gemfile and github actions (#131)
The CI checks uses different Ruby version. Updated Github actions and CircleCI to use 3.0.0
1 parent f2b8456 commit 900f2fc

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
test:
5151
docker:
5252
# specify the version you desire here
53-
- image: cimg/ruby:3.0-browsers
53+
- image: cimg/ruby:3.0.0-browsers
5454
environment:
5555
BUNDLE_GEMFILE: Gemfile
5656
BUNDLE_PATH: vendor/bundle
@@ -158,7 +158,7 @@ jobs:
158158
path: ./tmp/screenshots
159159
lint:
160160
docker:
161-
- image: cimg/ruby:3.0-node
161+
- image: cimg/ruby:3.0.0-node
162162
environment:
163163
DISABLE_SPRING: 1
164164
BUNDLE_GEMFILE: Gemfile.tools
@@ -198,7 +198,7 @@ jobs:
198198

199199
upgrade_tools:
200200
docker:
201-
- image: cimg/ruby:3.0-node
201+
- image: cimg/ruby:3.0.0-node
202202
environment:
203203
DISABLE_SPRING: 1
204204
BUNDLE_GEMFILE: Gemfile.tools

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
- name: Set up Ruby
3232
uses: ruby/setup-ruby@v1
3333
with:
34-
ruby-version: 3.0
3534
bundler-cache: true
3635

3736
- name: Use Node.js

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source 'https://rubygems.org'
22
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

4-
ruby '3.0.0'
4+
ruby RUBY_VERSION
55

66
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
77
gem 'rails', '~> 6.1.3', '>= 6.1.3.1'

0 commit comments

Comments
 (0)