Fix Rack::File is deprecated and will be removed in Rack 3.1 #247
Workflow file for this run
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: Mini Profiler Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
env: | |
MEMCACHE_SERVERS: localhost:11211 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Ruby ${{ matrix.ruby }} | |
services: | |
memcached: | |
image: memcached:1.6.9 | |
ports: | |
- 11211:11211 | |
options: --health-cmd "timeout 5 bash -c 'cat < /dev/null > /dev/udp/127.0.0.1/11211'" --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["3.2", "3.1", "3.0", "2.7"] | |
redis: ["5.x"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Setup redis | |
uses: shogo82148/actions-setup-redis@v1 | |
with: | |
redis-version: ${{ matrix.redis }} | |
- name: Tests | |
run: bundle exec rspec | |
- name: Rubocop | |
run: bundle exec rubocop |