.github/workflows/ci.yml in sidekiq-throttled-0.15.1 vs .github/workflows/ci.yml in sidekiq-throttled-0.16.0

- old
+ new

@@ -1,51 +1,52 @@ name: CI on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: - rspec: + test: name: "rspec (ruby:${{ matrix.ruby }} sidekiq:${{ matrix.sidekiq }})" strategy: fail-fast: false matrix: - ruby: [ "2.6", "2.7", "3.0" ] - sidekiq: [ "5.0", "5.1", "5.2", "6.0", "6.1", "6.2", "6.3" ] + ruby: [ "2.7", "3.0", "3.1" ] + sidekiq: [ "6.0", "6.1", "6.2", "6.3", "6.4", "6.5" ] runs-on: ubuntu-latest services: redis: image: redis ports: ["6379:6379"] options: "--entrypoint redis-server" env: - GEMFILE: gemfiles/sidekiq_${{ matrix.sidekiq }}.gemfile + BUNDLE_GEMFILE: gemfiles/sidekiq_${{ matrix.sidekiq }}.gemfile steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - - run: bundle exec rspec + - name: bundle exec rspec + run: bundle exec rspec --format progress --force-colour rubocop: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: - ruby-version: "2.6" + ruby-version: "2.7" bundler-cache: true - run: bundle exec rubocop