Skip to content

Commit 9ad743d

Browse files
committed
Update all workflows to use Ruby 2.7
1 parent 5d7262c commit 9ad743d

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/create-release-marketing.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ jobs:
343343
unzip zip/mailchimp-marketing-ruby.zip -d swagger-out/marketing-ruby
344344
345345
- name: Set up Ruby 2.7
346-
uses: actions/setup-ruby@v1
346+
uses: ruby/setup-ruby@v1
347347
with:
348348
ruby-version: '2.7'
349349

@@ -528,10 +528,10 @@ jobs:
528528
path: .cache
529529
key: cache-dir
530530

531-
- name: Install Ruby 2.6.x
532-
uses: actions/setup-ruby@v1
531+
- name: Install Ruby 2.7
532+
uses: ruby/setup-ruby@v1
533533
with:
534-
ruby-version: 2.6.x
534+
ruby-version: 2.7
535535

536536
- name: Prepare Build & Publishing Tools
537537
run: |

.github/workflows/create-release-transactional.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,10 @@ jobs:
336336
mkdir -p swagger-out/transactional-ruby
337337
unzip zip/mailchimp-transactional-ruby.zip -d swagger-out/transactional-ruby
338338
339-
- name: Set up Ruby 2.6
339+
- name: Set up Ruby 2.7
340340
uses: ruby/setup-ruby@v1
341341
with:
342-
ruby-version: '2.6'
342+
ruby-version: '2.7'
343343

344344
- name: Install client dependencies
345345
run: gem install rspec
@@ -517,7 +517,7 @@ jobs:
517517
- name: Install Ruby 2.6.x
518518
uses: ruby/setup-ruby@v1
519519
with:
520-
ruby-version: 2.6.10
520+
ruby-version: 2.7
521521

522522
- name: Prepare Build & Publishing Tools
523523
run: |

.github/workflows/test-marketing.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,9 @@ jobs:
118118
unzip zip/mailchimp-marketing-ruby.zip -d swagger-out/marketing-ruby
119119
120120
- name: Setup Ruby
121-
uses: ruby/setup-ruby@v1.237.0
121+
uses: ruby/setup-ruby@v1
122122
with:
123123
ruby-version: '2.7'
124-
bundler-cache: false
125124

126125
- name: Install client dependencies
127126
run: gem install rspec

0 commit comments

Comments
 (0)