Skip to content

Commit

Permalink
Merge pull request #22 from rainforestapp/RF-26341-support-ruby-320
Browse files Browse the repository at this point in the history
Support Ruby 3.2.0
  • Loading branch information
sebaherrera07 authored Jan 23, 2023
2 parents ab9dbb0 + 2115c09 commit 4dd7469
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ version: 2.1

jobs:
test:
parameters:
ruby:
type: string
docker:
- image: circleci/ruby:2.7.4-node
- image: cimg/ruby:<< parameters.ruby >>-node
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_TOKEN
Expand All @@ -21,7 +24,7 @@ jobs:
push_to_rubygems:
docker:
- image: circleci/ruby:2.7.4
- image: cimg/ruby:3.2.0
auth:
username: $DOCKERHUB_USERNAME
password: $DOCKERHUB_TOKEN
Expand Down Expand Up @@ -57,12 +60,29 @@ jobs:
command: .circleci/update-jira.sh

workflows:
version: 2
gem_release:
jobs:
- test:
matrix:
alias: old-ruby
parameters:
ruby: ["2.7.7", "3.0.5", "3.1.3"]
filters:
tags:
only:
- /^v.*/
context:
- DockerHub

- test:
ruby: "3.2.0"
filters:
tags:
only:
- /^v.*/
context:
- DockerHub

- push_to_rubygems:
filters:
branches:
Expand All @@ -74,6 +94,7 @@ workflows:
context:
- DockerHub
- RubyGems

- update_jira:
requires:
- push_to_rubygems
Expand Down

0 comments on commit 4dd7469

Please sign in to comment.