diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml index a8d1ba96db..dffe84d15a 100644 --- a/.github/workflows/danger.yml +++ b/.github/workflows/danger.yml @@ -14,7 +14,6 @@ jobs: with: ruby-version: 2.7 bundler-cache: true - rubygems: latest - name: Run Danger run: | # the token is public, has public_repo scope and belongs to the grape-bot user owned by @dblock, this is ok diff --git a/.github/workflows/edge.yml b/.github/workflows/edge.yml index fe962dbff0..bea28ef249 100644 --- a/.github/workflows/edge.yml +++ b/.github/workflows/edge.yml @@ -20,7 +20,6 @@ jobs: with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - rubygems: latest - name: Run tests run: bundle exec rake spec diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 150f588407..d5db9ab2c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 + ruby-version: 3.2 bundler-cache: true rubygems: latest @@ -45,7 +45,6 @@ jobs: with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - rubygems: latest - name: Run tests run: bundle exec rake spec diff --git a/CHANGELOG.md b/CHANGELOG.md index c715cba466..76f3ce19ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ * [#2372](https://github.com/ruby-grape/grape/pull/2372): Fix `declared` method for hash params with overlapping names - [@jcagarcia](https://github.com/jcagarcia). * [#2373](https://github.com/ruby-grape/grape/pull/2373): Fix markdown files for following 1-line format - [@jcagarcia](https://github.com/jcagarcia). * [#2382](https://github.com/ruby-grape/grape/pull/2382): Fix values validator for params wrapped in `with` block - [@numbata](https://github.com/numbata). +* [#2387](https://github.com/ruby-grape/grape/pull/2387): Fix rubygems version within workflows - [@ericproulx](https://github.com/ericproulx). * Your contribution here. ### 2.0.0 (2023/11/11)