diff options
author | MSP-Greg <MSP-Greg@users.noreply.github.com> | 2020-02-16 10:01:25 -0600 |
---|---|---|
committer | MSP-Greg <MSP-Greg@users.noreply.github.com> | 2020-02-16 10:14:48 -0600 |
commit | 6b220d35656d9048c55f00dc333fec7a44faa90c (patch) | |
tree | 59c154e3f1dd27d7d3679884f86ebee47691fc75 | |
parent | 4450ff4ebf6a880ff36aea5c6a40c78953efbabf (diff) | |
download | psych-6b220d35656d9048c55f00dc333fec7a44faa90c.zip |
ubuntu-jruby - remove rvm, use ruby/setup-ruby
-rw-r--r-- | .github/workflows/ubuntu-jruby.yml | 38 |
1 files changed, 16 insertions, 22 deletions
diff --git a/.github/workflows/ubuntu-jruby.yml b/.github/workflows/ubuntu-jruby.yml index d39b624..fd64cf1 100644 --- a/.github/workflows/ubuntu-jruby.yml +++ b/.github/workflows/ubuntu-jruby.yml @@ -6,27 +6,21 @@ jobs: build: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: - ruby: [ 'jruby-9.2.9.0', 'jruby-head' ] + ruby: [ jruby, jruby-head ] steps: - - name: Install libraries - run: sudo apt install haveged - - uses: actions/checkout@master - - name: Set up RVM - run: | - curl -sSL https://get.rvm.io | bash - - name: Set up Ruby - run: | - source $HOME/.rvm/scripts/rvm - rvm install ${{ matrix.ruby }} --binary - rvm --default use ${{ matrix.ruby }} - - name: Install dependencies - run: | - source $HOME/.rvm/scripts/rvm - gem install bundler --no-document - bundle install - - name: Run test - run: | - source $HOME/.rvm/scripts/rvm - rake - continue-on-error: true + - uses: actions/checkout@v1 + - 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: compile + run: rake compile + - name: test + continue-on-error: true + run: rake test |