Fix bundle show --verbose and recommend it as an alternative to bundle show --outdated
#5182
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: system-rubygems-bundler | |
| on: | |
| pull_request: | |
| paths: | |
| - bundler/** | |
| - .github/workflows/system-rubygems-bundler.yml | |
| push: | |
| branches: | |
| - master | |
| concurrency: | |
| group: ci-${{ github.ref }}-${{ github.workflow }} | |
| cancel-in-progress: true | |
| permissions: # added using https://github.com/step-security/secure-workflows | |
| contents: read | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| system_rubygems_bundler: | |
| name: Bundler against system Rubygems (${{ matrix.ruby.name }}) | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - { ruby: { name: ruby-3.2, value: 3.2.0 } } | |
| - { ruby: { name: ruby-3.3, value: 3.3.0 } } | |
| - { ruby: { name: ruby-3.4, value: 3.4.1 } } | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| persist-credentials: false | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 # v1.254.0 | |
| with: | |
| ruby-version: ${{ matrix.ruby.value }} | |
| bundler: none | |
| - name: Install graphviz | |
| run: sudo apt-get install graphviz -y | |
| - name: Prepare dependencies | |
| run: | | |
| bin/rake dev:deps | |
| - name: Run Test | |
| run: | | |
| bin/parallel_rspec | |
| working-directory: ./bundler | |
| - name: Save system RubyGems version to ENV | |
| run: | | |
| RGV=$(ruby -e 'puts Gem::VERSION.split(".")[0..2].join(".")') | |
| echo "RGV=v$RGV" >> $GITHUB_ENV | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| path: bundler/tmp/rubygems | |
| ref: ${{ env.RGV }} | |
| persist-credentials: false | |
| - name: Run Rubygems Requirement tests against local bundler, to make sure bundler monkeypatches preserve the behaviour | |
| run: | | |
| ruby -I../../lib:lib:test test/rubygems/test_gem_requirement.rb | |
| working-directory: ./bundler/tmp/rubygems | |
| timeout-minutes: 60 |