Skip to content

Optimize bulk unlocking #169

Optimize bulk unlocking

Optimize bulk unlocking #169

Workflow file for this run

name: Main
on: [push,pull_request,workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
container: ruby:${{ matrix.ruby }}
services:
redis:
image: redis:alpine
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
ruby:
- 2.5.9
- 2.6.10
- 2.7.7
- 3.0.5
- 3.1.3
- 3.2.0
gemfile:
- gemfiles/activejob_4.2.x.gemfile
- gemfiles/activejob_5.2.x.gemfile
- gemfiles/activejob_6.0.x.gemfile
- gemfiles/activejob_6.1.x.gemfile
- gemfiles/activejob_7.0.x.gemfile
- gemfiles/activejob_7.1.x.gemfile
- gemfiles/activejob_7.2.x.gemfile
- gemfiles/sidekiq_4.x.gemfile
- gemfiles/sidekiq_5.x.gemfile
- gemfiles/sidekiq_6.x.gemfile
- gemfiles/sidekiq_7.x.gemfile
exclude:
- ruby: 2.5.9
gemfile: gemfiles/activejob_7.0.x.gemfile
- ruby: 2.5.9
gemfile: gemfiles/activejob_7.1.x.gemfile
- ruby: 2.5.9
gemfile: gemfiles/activejob_7.2.x.gemfile
- ruby: 2.5.9
gemfile: gemfiles/sidekiq_6.x.gemfile
- ruby: 2.5.9
gemfile: gemfiles/sidekiq_7.x.gemfile
- ruby: 2.6.10
gemfile: gemfiles/activejob_7.0.x.gemfile
- ruby: 2.6.10
gemfile: gemfiles/activejob_7.1.x.gemfile
- ruby: 2.6.10
gemfile: gemfiles/activejob_7.2.x.gemfile
- ruby: 2.6.10
gemfile: gemfiles/sidekiq_6.x.gemfile
- ruby: 2.6.10
gemfile: gemfiles/sidekiq_7.x.gemfile
- ruby: 2.7.7
gemfile: gemfiles/activejob_4.2.x.gemfile
- ruby: 2.7.7
gemfile: gemfiles/activejob_7.2.x.gemfile
- ruby: 2.7.7
gemfile: gemfiles/sidekiq_4.x.gemfile
- ruby: 3.0.5
gemfile: gemfiles/activejob_4.2.x.gemfile
- ruby: 3.0.5
gemfile: gemfiles/activejob_5.2.x.gemfile
- ruby: 3.0.5
gemfile: gemfiles/activejob_7.2.x.gemfile
- ruby: 3.0.5
gemfile: gemfiles/sidekiq_4.x.gemfile
- ruby: 3.0.5
gemfile: gemfiles/sidekiq_5.x.gemfile
- ruby: 3.1.3
gemfile: gemfiles/activejob_4.2.x.gemfile
- ruby: 3.1.3
gemfile: gemfiles/activejob_5.2.x.gemfile
- ruby: 3.1.3
gemfile: gemfiles/activejob_6.0.x.gemfile
- ruby: 3.1.3
gemfile: gemfiles/sidekiq_4.x.gemfile
- ruby: 3.1.3
gemfile: gemfiles/sidekiq_5.x.gemfile
- ruby: 3.2.0
gemfile: gemfiles/activejob_4.2.x.gemfile
- ruby: 3.2.0
gemfile: gemfiles/activejob_5.2.x.gemfile
- ruby: 3.2.0
gemfile: gemfiles/activejob_6.0.x.gemfile
- ruby: 3.2.0
gemfile: gemfiles/activejob_7.1.x.gemfile
- ruby: 3.2.0
gemfile: gemfiles/sidekiq_4.x.gemfile
- ruby: 3.2.0
gemfile: gemfiles/sidekiq_5.x.gemfile
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
run: |
gem install bundler -v '~> 2.2.15'
bundle install --jobs 4 --retry 3
- name: Run the default task
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
REDIS_URL: redis://redis
run: rake