mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Migrate to GitHub Actions
This commit is contained in:
parent
e44130562d
commit
8357a6973c
1 changed files with 25 additions and 0 deletions
25
.github/workflows/ci.yml
vendored
Normal file
25
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
rubies:
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, macos]
|
||||||
|
ruby: [ '3.0', '2.7', '2.6', '2.5' ]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Set up Ruby
|
||||||
|
uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: ${{ matrix.ruby }}
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bundle install
|
||||||
|
- name: Run test
|
||||||
|
run: rake
|
||||||
|
- name: Install gem
|
||||||
|
run: rake install
|
Loading…
Reference in a new issue