Skip to content

Commit

Permalink
ci: use latest bundler in generator jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Mar 9, 2024
1 parent 8585bf8 commit 6a156b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
use_package_json_gem: ['true', 'false']
gemfile:
- gemfiles/Gemfile-rails.6.0.x
- gemfiles/Gemfile-rails.6.1.x
- gemfiles/Gemfile-rails.7.0.x
# - gemfiles/Gemfile-rails.6.1.x
# - gemfiles/Gemfile-rails.7.0.x
- gemfiles/Gemfile-rails.7.1.x
# Uncomment the following line only to ensure compatibility with the
# upcomming Rails versions, maybe before a release.
Expand All @@ -45,13 +45,14 @@ jobs:
- 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
bundler-cache: true
# # 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 }}
4 changes: 2 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
ruby: ['2.7', '3.0', '3.1', '3.2']
gemfile:
- gemfiles/Gemfile-rails.6.0.x
- gemfiles/Gemfile-rails.6.1.x
- gemfiles/Gemfile-rails.7.0.x
# - gemfiles/Gemfile-rails.6.1.x
# - gemfiles/Gemfile-rails.7.0.x
- gemfiles/Gemfile-rails.7.1.x
# Uncomment the following line only to ensure compatibility with the
# upcomming Rails versions, maybe before a release.
Expand Down

0 comments on commit 6a156b7

Please sign in to comment.