Sha256: 84fec4e239f548a291084d64e3f8c3009a88ca6a4986087b6b93501d6f7b86e0
Contents?: true
Size: 1.91 KB
Versions: 1
Compression:
Stored size: 1.91 KB
Contents
--- name: CI on: push: branches: ["master"] pull_request: branches: ["master"] schedule: # Run the workflow once per month - cron: "0 0 1 * *" jobs: rubocop: name: Rubocop runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7.8 - name: rubocop uses: reviewdog/action-rubocop@v2 with: 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.7.8", "3.0.6", "3.1.4", "3.2.2", "latest"] sidekiq: ["4.1.0", "4.x", "5.x", "6.x", "7.x", "latest"] # Allow failures ... kind-a exclude: - ruby: "2.7.8" sidekiq: "latest" - ruby: "3.0.6" sidekiq: "latest" - ruby: "3.1.4" sidekiq: "latest" - ruby: "3.2.2" 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.2.0 | .github/workflows/ci.yaml |