Merge pull request #9025 from matsadler/update-magnus-gem-template #11318
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
with: | |
persist-credentials: false | |
- name: Setup ruby | |
uses: ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.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) }} |