Skip to content

Use safe navigation operator to clean up the codes #47

Use safe navigation operator to clean up the codes

Use safe navigation operator to clean up the codes #47

Workflow file for this run

name: Benchmark
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
permissions: read-all
concurrency:
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: false
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
ruby-version: ['3.4']
name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Ruby
uses: ruby/setup-ruby@a4effe49ee8ee5b8b5091268c473a4628afb5651 # v1.245.0
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: bundle install
- name: Run Benchmark
shell: bash # Ensure to use bash shell on all platforms
run: |
bundle exec rake benchmark:run:in_tail | tee -a $GITHUB_STEP_SUMMARY