don't cache literals for Expression parser #1584
This file contains 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: Liquid | |
on: [push, pull_request] | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
entry: | |
- { ruby: 3.0, allowed-failure: false } # minimum supported | |
- { ruby: 3.2, allowed-failure: false } | |
- { ruby: 3.3, allowed-failure: false } # latest | |
- { ruby: ruby-head, allowed-failure: false } | |
name: Test Ruby ${{ matrix.entry.ruby }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.entry.ruby }} | |
bundler-cache: true | |
bundler: latest | |
- run: bundle exec rake | |
continue-on-error: ${{ matrix.entry.allowed-failure }} | |
memory_profile: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- run: bundle exec rake memory_profile:run |