Skip to content

Commit

Permalink
Merge pull request #2 from ruby/actions
Browse files Browse the repository at this point in the history
Use ruby/setup-ruby instead of actions/setup-ruby
  • Loading branch information
hsbt authored Mar 26, 2020
2 parents 8314be8 + bceb383 commit 218b343
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 77 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/macos.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ubuntu

on: [push, pull_request]

jobs:
build:
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: [ 2.7, 2.6, 2.5, 2.4, head ]
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
gem install bundler --no-document
bundle install
- name: Run test
run: rake test
33 changes: 0 additions & 33 deletions .github/workflows/ubuntu-rvm.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/ubuntu.yml

This file was deleted.

0 comments on commit 218b343

Please sign in to comment.