Skip to content

Commit

Permalink
Try using ruby/setup-ruby instead of actions/setup-ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
etagwerker committed Nov 19, 2020
1 parent ed779c8 commit 6c1e0f9
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Setup Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4.x
ruby-version: 2.4
bundler-cache: true
- name: Build and run tests
env:
BUNDLE_GEMFILE: "Gemfile-Ruby-2-4"
Expand All @@ -25,9 +26,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Setup Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.x
ruby-version: 2.5
bundler-cache: true
- name: Build and run tests
run: |
gem install bundler
Expand All @@ -39,9 +41,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Setup Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6.x
ruby-version: 2.6
bundler-cache: true
- name: Build and run tests
run: |
gem install bundler
Expand All @@ -53,9 +56,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Setup Ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.x
ruby-version: 2.7
bundler-cache: true
- name: Build and run tests
run: |
gem install bundler
Expand Down

0 comments on commit 6c1e0f9

Please sign in to comment.