Skip to content

Commit

Permalink
Switch to Ruby 3.2 for GH actions
Browse files Browse the repository at this point in the history
The `gem install bundler` step started failing because the latest
bundler is not compatible with Ruby 2.7:

    The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22.
    Try installing it with `gem install bundler -v 2.4.22`

Just move everything to 3.2. Note this doesn't affect the ruby we build
or ship, just the version that's used to run GH actions.
  • Loading branch information
joshcooper committed Dec 20, 2023
1 parent 59404ee commit f604b54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/component_diff_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install ruby version ${{ matrix.cfg.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.2

- name: Bundle project
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.2
- name: Create lock
run: bundle lock
- uses: actions/setup-java@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/runtime_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Ruby version 2.7
- name: Install Ruby version 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.2
- name: Update rubygems and install gems
run: |
gem update --system --silent --no-document
Expand Down

0 comments on commit f604b54

Please sign in to comment.