Skip to content

Commit bc7f9db

Browse files
committed
Use github actions
1 parent 4f0ebc9 commit bc7f9db

File tree

2 files changed

+31
-13
lines changed

2 files changed

+31
-13
lines changed

.github/workflows/build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow will download a prebuilt Ruby version, install dependencies and
2+
# run tests with Rake
3+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
4+
5+
name: Build
6+
7+
"on": push
8+
9+
env:
10+
RUBYOPTS: "--disable-did-you-mean"
11+
JAVA_OPTS: "-Djava.security.egd=file:/dev/urandom"
12+
13+
jobs:
14+
rake:
15+
runs-on: ubuntu-latest
16+
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
ruby: ["3.0", "3.1", "3.2"]
21+
22+
steps:
23+
- uses: actions/checkout@v3
24+
25+
- name: Set up Ruby
26+
uses: ruby/setup-ruby@v1
27+
with:
28+
ruby-version: ${{ matrix.ruby }}
29+
bundler-cache: true
30+
- name: Run tests
31+
run: bundle exec rake

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)