diff --git a/.github/workflows/xsugar-tests.yml b/.github/workflows/xsugar-tests.yml index c9fc24e..08dd861 100644 --- a/.github/workflows/xsugar-tests.yml +++ b/.github/workflows/xsugar-tests.yml @@ -13,16 +13,13 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev openjdk-11-jdk-headless maven - name: Set up Ruby - # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, - # change this to (see https://github.com/ruby/setup-ruby#versioning): - # uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1.76.0 + uses: ruby/setup-ruby@v1 with: - ruby-version: jruby-9.1.17.0 + ruby-version: jruby-9.4.13.0 bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run XSugar grammar tests run: bundle exec rake diff --git a/.ruby-version b/.ruby-version index 2b63f58..942c054 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -jruby-9.1.17.0 +jruby-9.4.13.0 diff --git a/Gemfile b/Gemfile index d1e0ced..a3344cd 100644 --- a/Gemfile +++ b/Gemfile @@ -6,3 +6,7 @@ gem 'json' gem 'progressbar' gem 'haml' gem 'httpclient' + +gem "test-unit", "~> 3.7" + +gem "rexml", "~> 3.4" diff --git a/Gemfile.lock b/Gemfile.lock index b6bcba1..ce98c59 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,10 +6,14 @@ GEM tilt httpclient (2.8.3) json (2.5.1-java) + power_assert (2.0.5) progressbar (0.21.0) rake (13.0.6) rdoc (6.2.0) + rexml (3.4.1) temple (0.8.2) + test-unit (3.7.0) + power_assert tilt (2.0.10) PLATFORMS @@ -22,6 +26,8 @@ DEPENDENCIES progressbar rake rdoc + rexml (~> 3.4) + test-unit (~> 3.7) BUNDLED WITH - 1.17.3 + 2.6.9