aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ruby.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml
new file mode 100644
index 0000000..6892090
--- /dev/null
+++ b/.github/workflows/ruby.yml
@@ -0,0 +1,34 @@
+name: Ruby
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ ruby:
+ - '2.7'
+ - '3.0'
+ - '3.1'
+ - ruby-head
+ - jruby-9.3.3.0
+ include:
+ - ruby: ruby-head
+ env:
+ RUBYOPT: '--jit'
+ steps:
+ - uses: actions/checkout@v2
+ - uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ bundler-cache: true
+ - run: bundle exec rake
+ env:
+ LONG_RUN: true
+