diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3af3d93..acf5d90 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,12 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: '3.2' + # Match .ruby-version. Ruby 3.2 ships bundler 2.4.19 + stdlib uri + # 0.12.5, which conflicts with the uri >= 1.x that `bundle install` + # resolves for our faraday dep — bundler activates the stdlib uri + # first and then errors on the Gemfile requirement. 3.3.5 ships + # bundler 2.5.x which handles the default-gem overlap correctly. + ruby-version: '3.3.5' bundler-cache: true - name: Validate tag is on main branch