Sha256: 8685b7042e19476bf4f562aee67c02424fb6c5a30649f917460663ab5182f5b5

Contents?: true

Size: 1018 Bytes

Versions: 2

Compression:

Stored size: 1018 Bytes

Contents

name: CI

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  test:
    name: "rspec (ruby:${{ matrix.ruby }} sidekiq:${{ matrix.sidekiq }})"

    strategy:
      fail-fast: false
      matrix:
        ruby: [ "2.7", "3.0", "3.1" ]
        sidekiq: [ "6.4", "6.5" ]

    runs-on: ubuntu-latest

    services:
      redis:
        image: redis
        ports: ["6379:6379"]
        options: "--entrypoint redis-server"

    env:
      BUNDLE_GEMFILE: gemfiles/sidekiq_${{ matrix.sidekiq }}.gemfile

    steps:
      - uses: actions/checkout@v3

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true

      - name: bundle exec rspec
        run: bundle exec rspec --format progress --force-colour

  rubocop:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v3

      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: "2.7"
          bundler-cache: true

      - run: bundle exec rubocop

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sidekiq-throttled-0.18.0 .github/workflows/ci.yml
sidekiq-throttled-0.17.0 .github/workflows/ci.yml