@@ -336,8 +336,12 @@ jobs:
336336 - name : Test with mini_racer
337337 run : |
338338 export BUNDLE_FORCE_RUBY_PLATFORM=y
339- git clone https://github.com/rubyjs/mini_racer.git test/mini_racer --depth 1
339+ mkdir -p test/mini_racer
340340 cd test/mini_racer
341+ git init
342+ git remote add origin https://github.com/bnoordhuis/mini_racer.git
343+ git fetch --depth 1 origin 79c085c23354a6a62c93a508e288bd803faecee0
344+ git checkout FETCH_HEAD
341345 ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-ruby.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
342346 ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
343347 bundle install
@@ -368,8 +372,12 @@ jobs:
368372 run : gem install pkg/libv8-node-${{ needs.build-darwin.outputs.GEM_VERSION }}-${{ steps.set-metadata.outputs.GEM_PLATFORM }}.gem
369373 - name : Test with mini_racer
370374 run : |
371- git clone https://github.com/rubyjs/mini_racer.git test/mini_racer --depth 1
375+ mkdir -p test/mini_racer
372376 cd test/mini_racer
377+ git init
378+ git remote add origin https://github.com/bnoordhuis/mini_racer.git
379+ git fetch --depth 1 origin 79c085c23354a6a62c93a508e288bd803faecee0
380+ git checkout FETCH_HEAD
373381 ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-darwin.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
374382 ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
375383 bundle install
@@ -448,8 +456,12 @@ jobs:
448456 run : docker exec -w "${PWD}" ${{ steps.container.outputs.id }} gem install pkg/libv8-node-${{ needs.build-linux.outputs.GEM_VERSION }}-${{ steps.set-metadata.outputs.GEM_PLATFORM }}.gem
449457 - name : Test with mini_racer
450458 run : |
451- git clone https://github.com/rubyjs/mini_racer.git test/mini_racer --depth 1
459+ mkdir -p test/mini_racer
452460 cd test/mini_racer
461+ git init
462+ git remote add origin https://github.com/bnoordhuis/mini_racer.git
463+ git fetch --depth 1 origin 79c085c23354a6a62c93a508e288bd803faecee0
464+ git checkout FETCH_HEAD
453465 ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-linux.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
454466 ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
455467 docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle install
0 commit comments