Skip to content

Memoize resource URLs for major performance gain #2238

Memoize resource URLs for major performance gain

Memoize resource URLs for major performance gain #2238

Workflow file for this run

name: build
on:
pull_request:
branches:
- "*"
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby_version: [3.1.4, 3.2.3, 3.3.0]
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
# Has to be top level to cache properly
env:
BUNDLE_JOBS: 4
BUNDLE_PATH: "vendor/bundle"
steps:
- uses: actions/checkout@master
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: Test with Rake
run: bundle exec rake