.github/workflows/generator.yml in shakapacker-7.2.0 vs .github/workflows/generator.yml in shakapacker-7.2.1
- old
+ new
@@ -1,8 +1,12 @@
name: Generator specs
-on: [push, pull_request]
+on:
+ push:
+ branches:
+ - 'master'
+ pull_request:
jobs:
test:
name: Generator specs
runs-on: ${{ matrix.os }}
@@ -33,9 +37,14 @@
with:
persist-credentials: false
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
+ # Bundler 2.5.0 dropped support for Ruby 2.6 and 2.7
+ - name: Use Bundler 2.4.22
+ run: |
+ gem install bundler -v '2.4.22'
+ bundle config --local path vendor/bundle
- name: Install dependencies
run: bundle install
- run: bundle exec rake run_spec:generator
env:
SHAKAPACKER_USE_PACKAGE_JSON_GEM: ${{ matrix.use_package_json_gem }}