Skip to content

Commit

Permalink
Update Ruby version in checks
Browse files Browse the repository at this point in the history
Prior to this commit, the checks GitHub Action was running on Ruby 2.7.
This version of Ruby went end-of-life in early 2023 and libraries (such
as rubygems-update) have started to drop support, causing errors with
the action.

This commits that Ruby version to 3.2 to match what we're using in
puppet-agent main/8.x.
  • Loading branch information
mhashizume committed Dec 19, 2023
1 parent 0626d98 commit 582b4a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,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 582b4a9

Please sign in to comment.