File tree Expand file tree Collapse file tree 2 files changed +11
-20
lines changed
Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 99 strategy :
1010 matrix :
1111 jruby_version :
12- - 9.3.10 .0
13- - 9.4.2 .0
12+ - 9.3.15 .0
13+ - 9.4.8 .0
1414 fail-fast : false
1515 steps :
1616 - uses : actions/checkout@v4
@@ -19,24 +19,15 @@ jobs:
1919 with :
2020 java-version : 8
2121 distribution : " temurin"
22- - uses : ruby/setup-ruby@v1
23- with :
24- ruby-version : ' jruby-${{ matrix.jruby_version }}'
25- bundler-cache : true
26- - name : show ruby version
27- run : ruby -v
28- - name : bundle install
29- run : bundle install
22+ - name : download jruby
23+ run : " curl -L -o jruby.jar https://repo1.maven.org/maven2/org/jruby/jruby-complete/${{ matrix.jruby_version }}/jruby-complete-${{ matrix.jruby_version }}.jar"
3024 #
31- # This step avoids the following error in the JRuby 9.4 test.
25+ # For avoiding permission denied. install gems into `gems` directory
3226 #
33- # Gem::LoadError: You have already activated rake 13.0.6,
34- # but your Gemfile requires rake 13.1.0. Prepending
35- # `bundle exec` to your command may solve this.
36- #
37- - name : install rake 13.1.0
38- run : gem install rake -v 13.1.0
27+ - name : bundle install
28+ run : " env GEM_HOME=gems java -jar jruby.jar -S bundle install"
29+
3930 - name : install embulk.jar
40- run : " curl -L -o embulk.jar https://github.com/embulk/embulk/releases/download/v0.10.49 /embulk-0.10.49 .jar"
31+ run : " curl -L -o embulk.jar https://github.com/embulk/embulk/releases/download/v0.11.4 /embulk-0.11.4 .jar"
4132 - name : rake test
42- run : bundle exec env RUBYOPT="-r ./embulk.jar" rake test
33+ run : ' env GEM_HOME=gems RUBYOPT="-r ./embulk.jar -r rubygems" java -jar jruby.jar -S bundle exec rake test'
Original file line number Diff line number Diff line change 11source 'https://rubygems.org/'
22
33gemspec
4- gem 'embulk' , '= 0.10.49 '
4+ gem 'embulk' , '= 0.11.4 '
55gem 'embulk-parser-none'
66gem 'embulk-parser-jsonl'
77gem 'pry-nav'
You can’t perform that action at this time.
0 commit comments