diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a7b4fbf0..4a340ed2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -77,6 +77,11 @@ jobs: key: vendor-${{ hashFiles('**/go.sum') }} restore-keys: | vendor- + - uses: ruby/setup-ruby@v1 + with: + # Use <3.0 since go-mruby's Rakefile has some problems with keyword arguments compatibility + ruby-version: 2.7 + bundler-cache: true - run: go mod vendor - name: Build mruby run: bash -c '(cd vendor/github.com/mitchellh/go-mruby && MRUBY_CONFIG=../../../../../../etc/build_config.rb make libmruby.a)'