Skip to content

Commit

Permalink
Pin standard ruby_version to 3.1
Browse files Browse the repository at this point in the history
At 3.2, standardrb begins enforcing use of anonymous positional
arguments forwarding, which breaks the code for any older Ruby
versions, such as 2.5 to 3.1 in our CI test matrix.
  • Loading branch information
kspurgin committed Dec 11, 2024
1 parent 17aa553 commit 87b520e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: "3.3"
# Setting this later than 3.1 requires use of anonymous positional
# arguments forwarding, which breaks all versions earlier than 3.2
# in our test matrix
ruby-version: "3.1"
- name: Install dependencies
run: bundle install
- name: Run the tests
Expand Down
1 change: 1 addition & 0 deletions .standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby_version: 3.1

0 comments on commit 87b520e

Please sign in to comment.