Skip to content

Commit 112a890

Browse files
committed
Consolidate CI action
1 parent 00a65d2 commit 112a890

File tree

3 files changed

+11
-75
lines changed

3 files changed

+11
-75
lines changed

.github/workflows/linux.yaml .github/workflows/ci.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
name: Linux
1+
name: Unit Tests
22

33
on: [push, pull_request]
44
jobs:
55
build:
6-
name: >-
7-
Linux | Ruby: ${{ matrix.ruby }}
8-
runs-on: "ubuntu-latest"
6+
name: "Ruby: ${{ matrix.ruby }} OS: ${{ matrix.os }}"
7+
runs-on: ${{ matrix.os }}
98
strategy:
109
fail-fast: false
1110
matrix:
12-
ruby: ["2.4.x", "2.5.x", "2.6.x", "9.9.x"]
11+
os: [macos-latest, windows-latest, ubuntu-latest]
12+
ruby: ["2.4", "2.5", "2.6", "2.7"]
1313
steps:
14-
- name: repo checkout
14+
- name: Checkout
1515
uses: actions/checkout@v1
1616
with:
1717
fetch-depth: 10
18-
- name: load ruby, update gcc
19-
uses: MSP-Greg/actions-ruby@master
18+
- name: Select Ruby Version
19+
uses: eregon/use-ruby-action@master
2020
with:
2121
ruby-version: ${{ matrix.ruby }}
2222
base: update
23-
- name: update RubyGems, Bundler
23+
- name: Update RubyGems & Bundler
2424
run: gem update --system --no-document --conservative
25-
- name: bundle install
25+
- name: Install Dependencies
2626
run: bundle install --jobs=3 --retry=3
27-
- name: test
27+
- name: Run Test
2828
run: |
2929
ruby -v
3030
bundle exec rake

.github/workflows/macos.yaml

-32
This file was deleted.

.github/workflows/windows.yml

-32
This file was deleted.

0 commit comments

Comments
 (0)