Skip to content

Commit

Permalink
Merge pull request #53 from luislavena/ci/update-actions
Browse files Browse the repository at this point in the history
Update CI actions
  • Loading branch information
luislavena authored Apr 5, 2020
2 parents 62c1b0e + 0305f5f commit 6668adc
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 21 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
strategy:
matrix:
ruby:
- '2.7.0'
- '2.6.5'
- '2.5.7'
- '2.4.9'
- '2.7'
- '2.6'
- '2.5'
- '2.4'
steps:
- uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598
- uses: actions/cache@cffae9552bb9f84b9812c1ee9ea2e3c0a70a797e
- uses: actions/checkout@94c2de77cccf605d74201a8aec6dd8fc0717ad66
- uses: actions/cache@f60097cd16988b176c31ed5e2db51d50a8d19a4e
id: cache
with:
path: ~/local/rubies
key: ${{ runner.os }}-ruby-${{ matrix.ruby }}
- name: Set up Ruby
uses: clupprich/ruby-build-action@d2971553edbe27a9cb7e277f22b549114bfd3ccf
uses: ruby/setup-ruby@463c3a8161c756a091bafff34d5b295036152d41
id: ruby
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
matrix:
ruby:
# use always oldest supported version
- '2.4.9'
- '2.4'
steps:
- uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598
- uses: actions/cache@cffae9552bb9f84b9812c1ee9ea2e3c0a70a797e
- uses: actions/checkout@94c2de77cccf605d74201a8aec6dd8fc0717ad66
- uses: actions/cache@f60097cd16988b176c31ed5e2db51d50a8d19a4e
id: cache
with:
path: ~/local/rubies
key: ${{ runner.os }}-ruby-${{ matrix.ruby }}
- name: Set up Ruby
uses: clupprich/ruby-build-action@d2971553edbe27a9cb7e277f22b549114bfd3ccf
uses: ruby/setup-ruby@463c3a8161c756a091bafff34d5b295036152d41
id: ruby
with:
ruby-version: ${{ matrix.ruby }}
Expand All @@ -47,7 +47,7 @@ jobs:
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
- name: Create Release
id: create_release
uses: actions/create-release@64e5e85fc528f162d7ba7ce2d15a3bb67efb3d80
uses: actions/create-release@8f324cdc2e5470815db0a286b4b3aa7803c0e6ef
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ jobs:
strategy:
matrix:
ruby:
- '2.7.0'
- '2.6.5'
- '2.5.7'
- '2.4.9'
- '2.7'
- '2.6'
- '2.5'
- '2.4'
steps:
- uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598
- uses: actions/cache@cffae9552bb9f84b9812c1ee9ea2e3c0a70a797e
- uses: actions/checkout@94c2de77cccf605d74201a8aec6dd8fc0717ad66
- uses: actions/cache@f60097cd16988b176c31ed5e2db51d50a8d19a4e
id: cache
with:
path: ~/local/rubies
key: ${{ runner.os }}-ruby-${{ matrix.ruby }}
- name: Set up Ruby
uses: clupprich/ruby-build-action@d2971553edbe27a9cb7e277f22b549114bfd3ccf
uses: ruby/setup-ruby@463c3a8161c756a091bafff34d5b295036152d41
id: ruby
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ jobs:
strategy:
matrix:
ruby:
- '2.7.x'
- '2.6.x'
- '2.5.x'
- '2.4.x'
steps:
- uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598
- uses: actions/checkout@94c2de77cccf605d74201a8aec6dd8fc0717ad66
- name: Set up Ruby
uses: MSP-Greg/actions-ruby@d22008bd83cc7a488e9e162a950deb9137b64766
uses: MSP-Greg/actions-ruby@164cd7048c050264a0360510c572e1d4472b4bfb
with:
ruby-version: ${{ matrix.ruby }}
- name: Install Bundler
Expand Down

0 comments on commit 6668adc

Please sign in to comment.