Sha256: f038222f0f68ec57921b2f09b38b80ad6048d6ae14dfb2be676422f7151ecf52

Contents?: true

Size: 944 Bytes

Versions: 8

Compression:

Stored size: 944 Bytes

Contents

name: Ruby Benchmark

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  benchmark:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby: [ '2.6', '2.7', '3.0' ]

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby }}
    - uses: actions/cache@v2
      with:
        path: vendor/bundle
        key: ${{ runner.os }}-${{ matrix.ruby }}-gem-deps-${{ hashFiles('**/Gemfile.lock') }}
        restore-keys: |
          ${{ runner.os }}-${{ matrix.ruby }}-gem-deps-
    - name: Install dependencies
      run: |
        bundle config path vendor/bundle
        bundle install
    - name: Run Benchmark
      run: bundle exec ruby bench/benchmark.rb
    - uses: actions/upload-artifact@v2
      with:
        name: benchmark-result
        path: benchmark_results.yaml
        if-no-files-found: error

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sober_swag-0.25.2 .github/workflows/benchmark.yml
sober_swag-0.25.1 .github/workflows/benchmark.yml
sober_swag-0.25.0 .github/workflows/benchmark.yml
sober_swag-0.24.1 .github/workflows/benchmark.yml
sober_swag-0.24.0 .github/workflows/benchmark.yml
sober_swag-0.23.0 .github/workflows/benchmark.yml
sober_swag-0.22.0 .github/workflows/benchmark.yml
sober_swag-0.21.0 .github/workflows/benchmark.yml