Add Dalli::CacheResult as an interim adapter for get_with_metadata #1460
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: Tests | |
| on: [push, pull_request] | |
| concurrency: | |
| group: tests-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby-version: | |
| - head | |
| - '4.0' | |
| - '3.4' | |
| - '3.3' | |
| - jruby-10 | |
| - truffleruby | |
| # Floor (Dalli::MIN_SUPPORTED_MEMCACHED_VERSION) and latest, so the | |
| # supported-version claim in the README is actually exercised. | |
| memcached-version: ['1.6.27', '1.6.45'] | |
| name: "Ruby ${{ matrix.ruby-version }} / Memcached ${{ matrix.memcached-version }}" | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install Memcached ${{ matrix.memcached-version }} | |
| working-directory: scripts | |
| env: | |
| MEMCACHED_VERSION: ${{ matrix.memcached-version }} | |
| run: | | |
| chmod +x ./install_memcached.sh | |
| ./install_memcached.sh | |
| - name: Set up Ruby ${{ matrix.ruby-version }} | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| bundler-cache: true # 'bundle install' and cache | |
| - name: Run tests | |
| run: bundle exec rake |