Sha256: a8fecfca64fc1d11d060a78c1cb9aca8a8657cd0ac7ae40efd9443d036be1d47
Contents?: true
Size: 1.89 KB
Versions: 1
Compression:
Stored size: 1.89 KB
Contents
--- name: CI on: push: branches: ["master"] pull_request: branches: ["master"] jobs: rubocop: name: Rubocop runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: 3.0.2 - name: rubocop uses: reviewdog/action-rubocop@v2 with: github_token: ${{ secrets.GITHUB_TOKEN }} rubocop_version: gemfile rubocop_extensions: rubocop-rake:gemfile rubocop-rspec:gemfile rubocop-performance:gemfile reporter: github-pr-review fail_on_error: true test: needs: rubocop runs-on: ubuntu-latest name: Ruby ${{ matrix.ruby }} / Sidekiq ${{ matrix.sidekiq }} strategy: matrix: # Always keep a window of "5 most recent" including (or on top with) HEAD ruby: ["2.6.8", "2.7.4", "3.0.2", "3.1.1", "latest"] sidekiq: ["3.3.1", "3.x", "4.x", "5.x", "6.x", "latest"] # Allow failures ... kind-a exclude: - ruby: "2.6.8" sidekiq: "latest" - ruby: "2.7.4" sidekiq: "latest" - ruby: "3.0.2" sidekiq: "latest" - ruby: "3.1.1" sidekiq: "latest" container: image: ruby:${{ matrix.ruby }} steps: - uses: actions/checkout@v2 - uses: actions/cache@v2 id: vendor-cache with: path: vendor key: bundle-${{ matrix.ruby }}-sidekiq-${{ matrix.sidekiq }}-${{ hashFiles('**/*.gemspec') }}-${{ hashFiles('**/.*Gemfile.lock') }} - name: Upgrade Bundler to 2.x (for older Ruby versions) run: gem install bundler -v '~> 2.1' - name: Bundle install run: | bundle config path vendor/bundle bundle config gemfile gemfiles/sidekiq_${{ matrix.sidekiq }}.Gemfile bundle install - name: Run RSpec run: bundle exec rake spec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-prometheus-exporter-0.1.17 | .github/workflows/ci.yaml |