Merge pull request #8915 from rubygems/deivid-rodriguez/improve-bundl… #11026
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: truffleruby-bundler | |
| on: | |
| pull_request: | |
| 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: | |
| truffleruby_bundler: | |
| name: Bundler (Truffleruby) | |
| runs-on: ubuntu-24.04 | |
| 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: truffleruby-24.2.1 | |
| bundler: none | |
| - name: Prepare dependencies | |
| run: | | |
| bin/rake dev:deps | |
| - name: Run Test | |
| run: | | |
| bin/rspec --tag truffleruby_only --tag truffleruby | |
| working-directory: ./bundler | |
| timeout-minutes: 20 | |
| all-pass: | |
| name: All truffleruby-bundler jobs pass | |
| if: always() | |
| needs: | |
| - truffleruby_bundler | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: check dependent jobs | |
| uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2 | |
| with: | |
| jobs: ${{ toJSON(needs) }} |